Safe Haskell | None |
---|---|
Language | Haskell2010 |
Data.Serialize.Describe.Combinators.FText
Synopsis
- ftext :: Int -> (s -> Text) -> Descriptor s Text
- newtype KnownNat n => FText n = FText {
- unwrapFText :: Text
Documentation
ftext :: Int -> (s -> Text) -> Descriptor s Text Source #
A fixed text descriptor which reads a fixed amount of bytes, discarding all trailing '\0' characters. Upon serializing, the text will either be truncated to the specified fixed length, or padded with '\0' characters to meet it.
newtype KnownNat n => FText n Source #
Type-level variant of ftext
.
Constructors
FText | |
Fields
|