package
1.20.4
Repository: https://github.com/aws/smithy-go.git
Documentation: pkg.go.dev

# Functions

AsBigInt coerces a Value to its big.Int representation if possible.
AsFloat32 coerces a Value to its float32 representation if possible.
AsFloat64 coerces a Value to its float64 representation if possible.
AsInt16 coerces a Value to its int16 representation if possible.
AsInt32 coerces a Value to its int32 representation if possible.
AsInt64 coerces a Value to its int64 representation if possible.
AsInt8 coerces a Value to its int8 representation if possible.
AsTime coerces a Value to its time.Time representation if possible.
Decode returns the Value encoded in the given byte slice.
Encode returns a byte slice that encodes the given Value.

# Structs

Nil is the `nil` / `null` literal (major type 7, argument 22).
Tag describes a CBOR-tagged value (major type 6).
Undefined is the `undefined` literal (major type 7, argument 23).

# Interfaces

Value describes a CBOR data item.

# Type aliases

Bool describes a boolean value (major type 7, argument 20/21).
FixedUint encodes fixed-width NegInt values.
FixedUint encodes fixed-width Uint values.
EncodeRaw encodes opaque CBOR data.
Float32 describes an IEEE 754 single-precision floating-point number (major type 7, argument 26).
Float64 describes an IEEE 754 double-precision floating-point number (major type 7, argument 27).
List describes a CBOR list (major type 4).
Map describes a CBOR map (major type 5).
NegInt describes a CBOR negative int (major type 1) in the range [-2^64, -1].
Slice describes a CBOR byte slice (major type 2).
String describes a CBOR text string (major type 3).
Uint describes a CBOR uint (major type 0) in the range [0, 2^64-1].