# Functions
Decode returns a Cadence value decoded from its CCF-encoded representation.
Encode returns the CCF-encoded representation of the given value by using default CCF encoding options.
HasMsgPrefix returns true if the msg prefix (first few bytes) matches currently implemented top-level CCF messages: - ccf-typedef-and-value-message - ccf-type-and-value-message WARNING: For simplicity and performance, this does not check if msg is actually a CCF message, or well-formed, or valid.
MustEncode returns the CCF-encoded representation of the given value, or panics if the value cannot be represented in CCF.
NewDecoder initializes a Decoder that will decode CCF-encoded bytes from the given bytes.
NewEncoder initializes an Encoder that will write CCF-encoded bytes to the given io.Writer.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
interface types (179-183 are reserved).
interface type values (227-231 are reserved).
composite types (165-175 are reserved).
composite type values (213-223 are reserved).
No description provided by the author
CBOR tag numbers (128-135) for root objects (131-135 are reserved).
No description provided by the author
CBOR tag numbers (136-183) for types inline types (145-159 are reserved).
CBOR tag numbers (184-231) for type value non-composite and non-interface type values (194-207 are reserved).
No description provided by the author
No description provided by the author
EnforceSortBytewiseLexical requires sort order to be bytewise lexicographic.
EnforceSortNone means sort order is not enforced by the decoder.
!!! *WARNING* !!! ADD NEW TYPES *BEFORE* THIS WARNING.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
SortBytewiseLexical means bytewise lexicographic order.
SortNone means no sorting.
# Variables
EventsDecMode is CCF decoding mode for events which contains immutable CCF decoding options.
EventsEncMode is CCF encoding mode for events which contains immutable CCF encoding options.
# Structs
AttachmentFieldNotSupportedEncodingError is a user error that is returned when encoding composite value (such as Event) that has cadence.Attachment field.
Decoder decodes CCF-encoded representations of Cadence values.
DecOptions specifies CCF decoding options which can be used to create immutable DecMode.
An Encoder converts Cadence values into CCF-encoded bytes.
EncOptions specifies CCF encoding options.
# Type aliases
EnforceSortMode specifies how the decoder should enforce sort order.
No description provided by the author
No description provided by the author