Hoogle Search
Within LTS Haskell 24.45 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
cborg Codec.CBOR.Decoding Decode the length of a map.
decodeMapLenCanonical :: Decoder s Intcborg Codec.CBOR.Decoding Decode canonical representation of the length of a map.
decodeMapLenIndef :: Decoder s ()cborg Codec.CBOR.Decoding Decode a token marking the beginning of a map of indefinite length.
decodeMapLenOrIndef :: Decoder s (Maybe Int)cborg Codec.CBOR.Decoding Attempt to decode a token for the length of a finite, known map, or an indefinite map. If Nothing is returned, then an indefinite length map occurs afterwords. If Just x is returned, then a map of length x is encoded.
TkMapBegin :: Tokens -> Tokenscborg Codec.CBOR.Encoding No documentation available.
TkMapLen :: Word -> Tokens -> Tokenscborg Codec.CBOR.Encoding No documentation available.
encodeMapLen :: Word -> Encodingcborg Codec.CBOR.Encoding Encode the length of a Map, used to indicate that the following tokens represent the map values.
-
cborg Codec.CBOR.Encoding Encode a token specifying that this is the beginning of an indefinite map of unknown size. Tokens representing the map are expected afterwords, followed by a break token (see encodeBreak) when the map has ended.
-
cborg Codec.CBOR.FlatTerm No documentation available.
-
cborg Codec.CBOR.FlatTerm No documentation available.