codec-0.2.1: Simple bidirectional serialization
Data.Binary.Bits.Codec
type BitCodec a = Codec Block BitPut a #
bool :: BitCodec Bool #
word8 :: Int -> BitCodec Word8 #
word16be :: Int -> BitCodec Word16 #
word32be :: Int -> BitCodec Word32 #
word64be :: Int -> BitCodec Word64 #
toBytes :: BitCodec a -> BinaryCodec a #
Convert a BitCodec into a BinaryCodec.
BitCodec
BinaryCodec