serial

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2017 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OverwriteableFile

type OverwriteableFile interface {
	io.Reader
	io.Writer
	io.Seeker
	Truncate(size int64) error
}

type Serial

type Serial struct{}

func (*Serial) DecodeAll

func (s *Serial) DecodeAll(file io.ReadSeeker, outData interface{}) error

func (*Serial) EncodeAndOverwrite

func (s *Serial) EncodeAndOverwrite(file OverwriteableFile, outData interface{}) error

type Serializer

type Serializer interface {
	DecodeAll(file io.ReadSeeker, outData interface{}) error
	EncodeAndOverwrite(file OverwriteableFile, outData interface{}) error
}

Jump to

Keyboard shortcuts

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