Class of things that can generate sequence of bytes
Methods
toBytes :: a -> ByteStringConvert a byteable type to a bytestring
byteableLength :: a -> IntReturn the size of the byteable .
withBytePtr :: a -> (Ptr Word8 -> IO b) -> IO bProvide a way to look at the data of a byteable type with a ptr.
Instances1Byteable
Byteable ByteStringDefined in byteable-0.1.1 · Data.Byteable