serialize

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2020 License: MIT Imports: 3 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CompactSizeLen

func CompactSizeLen(ui64 uint64) uint32

func PackByte

func PackByte(writer io.Writer, b byte) error

func PackCompactSize

func PackCompactSize(writer io.Writer, ui64 uint64) error

func PackFloat32

func PackFloat32(writer io.Writer, f32 float32) error

func PackFloat64

func PackFloat64(writer io.Writer, f64 float64) error

func PackInt16

func PackInt16(writer io.Writer, i16 int16) error

func PackInt32

func PackInt32(writer io.Writer, i32 int32) error

func PackInt64

func PackInt64(writer io.Writer, i64 int64) error

func PackInt8

func PackInt8(writer io.Writer, i8 int8) error

func PackUint16

func PackUint16(writer io.Writer, ui16 uint16) error

func PackUint32

func PackUint32(writer io.Writer, ui32 uint32) error

func PackUint64

func PackUint64(writer io.Writer, ui64 uint64) error

func PackUint8

func PackUint8(writer io.Writer, ui8 uint8) error

func UnPackByte

func UnPackByte(reader io.Reader) (byte, error)

func UnPackCompactSize

func UnPackCompactSize(reader io.Reader) (uint64, error)

func UnPackFloat32

func UnPackFloat32(reader io.Reader) (float32, error)

func UnPackFloat64

func UnPackFloat64(reader io.Reader) (float64, error)

func UnPackInt16

func UnPackInt16(reader io.Reader) (int16, error)

func UnPackInt32

func UnPackInt32(reader io.Reader) (int32, error)

func UnPackInt64

func UnPackInt64(reader io.Reader) (int64, error)

func UnPackInt8

func UnPackInt8(reader io.Reader) (int8, error)

func UnPackUint16

func UnPackUint16(reader io.Reader) (uint16, error)

func UnPackUint32

func UnPackUint32(reader io.Reader) (uint32, error)

func UnPackUint64

func UnPackUint64(reader io.Reader) (uint64, error)

func UnPackUint8

func UnPackUint8(reader io.Reader) (uint8, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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