Documentation
class BinaryState s a whereSource
BinaryState Integer Word8 | |
BinaryState Integer Word16 | |
BinaryState Integer Word32 | |
Binary a => BinaryState () a | |
(BinaryState s a, BinaryState s b) => BinaryState s (a, b) |
encodeS :: BinaryState s a => s -> a -> ByteStringSource
decodeS :: BinaryState s a => s -> ByteString -> aSource
decodeWith :: GetState s a -> s -> ByteString -> aSource
encodeFile :: BinaryState s a => FilePath -> s -> a -> IO ()Source
decodeFile :: BinaryState s a => FilePath -> s -> IO aSource
decodeFile' :: BinaryState s a => FilePath -> s -> IO (a, s)Source