IPLD.DagCBOR.Encoder.Arguments
Contents
Description
type MajorArg = Word8 Source #
3-bit identifier for idenitifying the major data types of CBOR.
type ParamArg = Word8 Source #
5-bit identifier that configures the data-type parameters for CBOR objects.
encodeArgument :: MajorArg -> ParamArg -> Builder Source #
Encodes and validates the major type id and the parameter data.