encode package:serialise

Definition for encoding a given type into a binary representation, using the Encoding Monoid.
Definition for encoding a given type into a binary representation, using the Encoding Monoid.
Utility to support specialised encoding for some list type - used for Char/String instances in this package.
Patch functions together to obtain an Encoding for a container.
A helper function for encoding maps.
Encode fields sequentially without writing header
Encode field
Generic encoder for vectors. Its intended use is to allow easy definition of Serialise instances for custom vector
Encode a Bool.
Encode a 'break', used to specify the end of indefinite length objects like maps or lists.
Encode a bytestring in a flattened format.
Encode an arbitrary strict ByteString in a flattened format.
Encode a token specifying the beginning of a string of bytes of indefinite length. In reality, this specifies a stream of many occurrences of encodeBytes, each specifying a single chunk of the overall string. After all the bytes desired have been encoded, you should follow it with a break token (see encodeBreak).
Encode a Double in a flattened format.
Encode a full precision Float in a flattened format.
Encode a small 16-bit Float in a flattened format.
Encode an Int in a flattened format.
Encode an Int16 in a flattened format.
Encode an Int32 in a flattened format.
Encode an @Int64 in a flattened format.
Encode an Int8 in a flattened format.
Encode an arbitrarily large @Integer in a flattened format.
Encode the length of a list, used to indicate that the following tokens represent the list values.
Encode a token specifying that this is the beginning of an indefinite list of unknown size. Tokens representing the list are expected afterwords, followed by a break token (see encodeBreak) when the list has ended.
Encode the length of a Map, used to indicate that the following tokens represent the map values.