package
0.101.0
Repository: https://github.com/blinklabs-io/gouroboros.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
Decode CBOR list data by the leading value of each list item.
DecodeGeneric decodes the specified CBOR into the destination object without using the destination object's UnmarshalCBOR() function.
Extract the first item from a CBOR list.
No description provided by the author
EncodeGeneric encodes the specified object to CBOR without using the source object's MarshalCBOR() function.
Determine the length of a CBOR list.
No description provided by the author
No description provided by the author

# Constants

Max value able to be stored in a single byte without type prefix.
No description provided by the author
Tag ranges for "alternatives" https://www.ietf.org/archive/id/draft-bormann-cbor-notable-tags-07.html#name-enumerated-alternative-data.
No description provided by the author
No description provided by the author
No description provided by the author
Useful tag numbers.
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
Only the top 3 bytes are used to specify the type.
No description provided by the author
No description provided by the author

# Structs

Wrapper for bytestrings that allows them to be used as keys for a map This was originally a full implementation, but now it just extends the upstream type.
No description provided by the author
No description provided by the author
No description provided by the author
Rat corresponds to CBOR tag 30 and is used to represent a rational number.
Useful for embedding and easier to remember.
Helpful wrapper for parsing arbitrary CBOR data which may contain types that cannot be easily represented in Go (such as maps with bytestring keys).

# Interfaces

No description provided by the author

# Type aliases

No description provided by the author
No description provided by the author
Map corresponds to CBOR tag 259 and is used to represent a map with key/value operations.
Create an alias for RawMessage for convenience.
No description provided by the author
Set corresponds to CBOR tag 258 and is used to represent a mathematical finite set.
Alias for Tag for convenience.
WrappedCbor corresponds to CBOR tag 24 and is used to encode nested CBOR data.