Binrep.Type.Text.Encoding.Utf32
data Utf32 (end :: ByteOrder) Source #
Defined in Binrep.Type.Text.Encoding.Utf32
Methods
decode :: Bytes -> Either String (AsText (Utf32 BE)) Source #
decode :: Bytes -> Either String (AsText (Utf32 LE)) Source #
encode' :: Text -> Bytes Source #
Any Text value is always valid UTF-32.
Text
validate :: Proxy (Utf32 end) -> Text -> Maybe RefineException #