serialization

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2018 License: MIT Imports: 1 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Decoder

type Decoder interface {
	Decode(object interface{}, data []byte) (err error)
}

type Encoder

type Encoder interface {
	Encode(object interface{}) (data []byte, err error)
}

type StreamDecoder

type StreamDecoder interface {
	Decode(object interface{}) (err error)
}

type StreamEncoder

type StreamEncoder interface {
	Encode(object interface{}) (err error)
}

type StreamFactory

type StreamFactory interface {
	Decode(at io.Reader) StreamDecoder
	Encode(at io.Writer) StreamEncoder
}

Jump to

Keyboard shortcuts

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