Documentation
¶
Index ¶
- Variables
- type Config
- type Encoding
- func (b *Encoding) Decode(encoded []byte, out interface{}) error
- func (b *Encoding) DecodeReader(reader io.Reader, out interface{}) error
- func (b *Encoding) Encode(data interface{}) ([]byte, error)
- func (b *Encoding) EncodeWriter(data interface{}, writer io.Writer) error
- func (b *Encoding) GetKey() [8]byte
Constants ¶
This section is empty.
Variables ¶
View Source
var KeyBigEndian = [8]byte{'b', 'i', 'n', 'a', 'r', 'y', 'b', 0}
View Source
var KeyLittleEndian = [8]byte{'b', 'i', 'n', 'a', 'r', 'y', 'l', 0}
Functions ¶
This section is empty.
Types ¶
type Encoding ¶
type Encoding struct {
// contains filtered or unexported fields
}
func (*Encoding) DecodeReader ¶
func (*Encoding) EncodeWriter ¶
Click to show internal directories.
Click to hide internal directories.