xbinary

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	InvalidLengthErr = errors.New("invalid length")
)

Functions

func ReadBool

func ReadBool(r io.Reader) (bool, error)

func ReadBytes

func ReadBytes(r io.Reader) (b []byte, err error)

func ReadUint16

func ReadUint16(r io.Reader) (uint16, error)

func ReadUint32

func ReadUint32(r io.Reader) (uint32, error)

func WriteBool

func WriteBool(w io.Writer, b bool) error

func WriteBytes

func WriteBytes(w io.Writer, s []byte) (err error)

func WriteUint16

func WriteUint16(w io.Writer, i uint16) error

func WriteUint32

func WriteUint32(w io.Writer, i uint32) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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