Module pallas_codec::utils
source · Expand description
Round-trip friendly common helper structs
Structs§
- Struct to hold arbitrary CBOR to be processed independently
- Wraps a struct so that it is encoded/decoded as a cbor bytes
- An empty map
- Decodes a struct while preserving original CBOR
- Non-empty Set
- Introduced in Conway negInt64 = -9223372036854775808 .. -1 posInt64 = 1 .. 9223372036854775807 nonZeroInt64 = negInt64 / posInt64 ; this is the same as the current int64 definition but without zero
- Order-preserving set of attributes
- Introduced in Conway positive_coin = 1 .. 18446744073709551615
- Set
- Utility for skipping parts of the CBOR payload, use only for debugging
- An array with zero or one elements
Enums§
- A uint structure that preserves original int length
- Custom collection to ensure ordered pairs of values
- A struct that maintains a reference to whether a cbor array was indef or not
- Custom collection to ensure ordered pairs of values (non-empty)