Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Decoder ¶
type Decoder struct {
// contains filtered or unexported fields
}
Decoder reads and decodes ROD values from an input stream.
func NewDecoder ¶
NewDecoder returns a new decoder that reads from r.
func (*Decoder) Decode ¶
Decode decodes a value into v. v must be a pointer to an empty interface. Other types are not currently supported.
ROD types are decoded into the following Go types:
null : nil bool : bool integer : int64 float : float64 string : string blob : []byte array : []any map : map[any]any struct : map[string]any
Click to show internal directories.
Click to hide internal directories.