storage

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2022 License: MIT Imports: 2 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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
	ReadBytesBlock() ([]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
	WriteByteBlock(data []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