encoding

package
v0.0.0-...-dbd5041 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2015 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MaxNDNPacketSize = 8800
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Decoder

type Decoder interface {
	Decode() (interface{}, error)
}

type DecoderFactory

type DecoderFactory func(io.Reader) Decoder

type Encoder

type Encoder interface {
	Encode(v interface{}) error
}

type EncoderFactory

type EncoderFactory func(io.Writer) Encoder

type InvalidUnmarshalError

type InvalidUnmarshalError struct {
	Message string
}

func (*InvalidUnmarshalError) Error

func (e *InvalidUnmarshalError) Error() string

type NameRequiredError

type NameRequiredError struct{}

func (*NameRequiredError) Error

func (e *NameRequiredError) Error() string

type PacketTooLargeError

type PacketTooLargeError struct{}

func (*PacketTooLargeError) Error

func (e *PacketTooLargeError) Error() string

type SignatureRequiredError

type SignatureRequiredError struct{}

func (*SignatureRequiredError) Error

func (e *SignatureRequiredError) Error() string

type UnsupportedTypeError

type UnsupportedTypeError struct {
	Encoding string
	Type     reflect.Type
}

func (*UnsupportedTypeError) Error

func (e *UnsupportedTypeError) Error() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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