Documentation ¶
Overview ¶
Package cbor implements encoding and decoding of CBOR objects as defined in RFC 7049.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Decoder ¶
type Decoder struct {
// contains filtered or unexported fields
}
Decoder reads and decodes CBOR objects from an input stream.
func NewDecoder ¶
NewDecoder returns a new decoder that reads from r.
type Encoder ¶
type Encoder struct {
// contains filtered or unexported fields
}
An Encoder writes CBOR objects to an output stream.
func NewEncoder ¶
NewEncoder returns a new encoder that writes to w.
Click to show internal directories.
Click to hide internal directories.