binints

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: May 25, 2017 License: MIT Imports: 2 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrTrailingData = errors.New("unexpected trailing data")

Functions

func DecodeUint24LE

func DecodeUint24LE(b []byte) uint32

func DecodeUint32LE

func DecodeUint32LE(b []byte) uint32

func DecodeUint64LE

func DecodeUint64LE(b []byte) uint64

func EncodeUint128LE

func EncodeUint128LE(u, v uint64, b []byte)

func EncodeUint24LE

func EncodeUint24LE(v uint32, b []byte)

func EncodeUint32LE

func EncodeUint32LE(v uint32, b []byte)

func EncodeUint64LE

func EncodeUint64LE(v uint64, b []byte)

func ExpectEOF

func ExpectEOF(r io.Reader) error

func ReadByte

func ReadByte(r io.Reader) (byte, error)

func ReadFull

func ReadFull(r io.Reader, buf []byte) error

func ReadUint128LE

func ReadUint128LE(r io.Reader, buf []byte) error

func ReadUint24LE

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

func ReadUint32LE

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

func ReadUint32LEAsInt

func ReadUint32LEAsInt(r io.Reader) (int, error)

func ReadUint64LE

func ReadUint64LE(r io.Reader) (uint64, error)

func WriteUint128LE

func WriteUint128LE(w io.Writer, b []byte) error

func WriteUint24LE

func WriteUint24LE(w io.Writer, v uint32) error

func WriteUint32LE

func WriteUint32LE(w io.Writer, v uint32) error

func WriteUint64LE

func WriteUint64LE(w io.Writer, v uint64) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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