cbbinary

package
v0.4.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 12, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Key = [8]byte{'m', 's', 'g', 'p', 'a', 'c', 'k', 0}

Functions

This section is empty.

Types

type Config

type Config struct {
}

type Encoding

type Encoding struct {
}

func New

func New(config Config) *Encoding

func (*Encoding) Decode

func (b *Encoding) Decode(encoded []byte, out interface{}) error

func (*Encoding) DecodeReader

func (b *Encoding) DecodeReader(reader io.Reader, out interface{}) error

func (*Encoding) Encode

func (b *Encoding) Encode(data interface{}) ([]byte, error)

func (*Encoding) EncodeWriter

func (b *Encoding) EncodeWriter(data interface{}, writer io.Writer) error

func (*Encoding) GetKey

func (b *Encoding) GetKey() [8]byte

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL