Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Raw binary serialisation
Documentation
class HasTypeProxy a ⇒ SerialiseAsRawBytes a where Source #
serialiseToRawBytes ∷ a → ByteString Source #
deserialiseFromRawBytes ∷ AsType a → ByteString → Maybe a Source #
Instances
deserialiseFromRawBytesHex ∷ SerialiseAsRawBytes a ⇒ AsType a → ByteString → Maybe a Source #
serialiseToRawBytesHexText ∷ SerialiseAsRawBytes a ⇒ a → Text Source #