binaryutil

package
v0.0.0-...-ee0865d Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2021 License: MIT, MIT Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppendBytes

func AppendBytes(origin []byte, data []byte) []byte

func ReadBool

func ReadBool(r io.Reader, order binary.ByteOrder) bool

func ReadBytes

func ReadBytes(r io.Reader, order binary.ByteOrder) (data []byte)

func ReadFloat32

func ReadFloat32(r io.Reader, order binary.ByteOrder) float32

func ReadFloat64

func ReadFloat64(r io.Reader, order binary.ByteOrder) float64

func ReadInt16

func ReadInt16(r io.Reader, order binary.ByteOrder) int16

func ReadInt32

func ReadInt32(r io.Reader, order binary.ByteOrder) int32

func ReadInt64

func ReadInt64(r io.Reader, order binary.ByteOrder) int64

func ReadInt8

func ReadInt8(r io.Reader, order binary.ByteOrder) int8

func ReadUTF

func ReadUTF(r io.Reader, order binary.ByteOrder) (data string)

func ReadUint16

func ReadUint16(r io.Reader, order binary.ByteOrder) uint16

func ReadUint32

func ReadUint32(r io.Reader, order binary.ByteOrder) uint32

func ReadUint64

func ReadUint64(r io.Reader, order binary.ByteOrder) uint64

func ReadUint8

func ReadUint8(r io.Reader, order binary.ByteOrder) uint8

func StringToBytes

func StringToBytes(s string) []byte

func WriteBytes

func WriteBytes(w io.Writer, order binary.ByteOrder, data []byte)

func WriteUTF

func WriteUTF(w io.Writer, order binary.ByteOrder, data string) (err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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