storage

package
v0.0.0-...-4db4b9c Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2019 License: Apache-2.0 Imports: 3 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TypedReader

type TypedReader interface {
	ReadBytes([]byte) error
	ReadByte() (byte, error)
	ReadBool() (bool, error)
	ReadUInt8() (uint8, error)
	ReadInt8() (int8, error)
	ReadUInt16() (uint16, error)
	ReadInt16() (int16, error)
	ReadUInt32() (uint32, error)
	ReadInt32() (int32, error)
	ReadUInt64() (uint64, error)
	ReadInt64() (int64, error)
	ReadFloat32() (float32, error)
	ReadFloat64() (float64, error)
	ReadString8() (string, error)
	ReadString16() (string, error)
	ReadString32() (string, error)
}

func NewTypedReader

func NewTypedReader(delegate io.Reader) TypedReader

type TypedWriter

type TypedWriter interface {
	WriteBytes([]byte) error
	WriteByte(byte) error
	WriteBool(bool) error
	WriteInt8(int8) error
	WriteUInt8(uint8) error
	WriteInt16(int16) error
	WriteUInt16(uint16) error
	WriteInt32(int32) error
	WriteUInt32(uint32) error
	WriteUInt64(uint64) error
	WriteInt64(int64) error
	WriteFloat32(float32) error
	WriteFloat64(float64) error
	WriteString8(string) error
	WriteString16(string) error
	WriteString32(string) error
}

func NewTypedWriter

func NewTypedWriter(delegate io.Writer) TypedWriter

Jump to

Keyboard shortcuts

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