udwBinary

package
v0.0.0-...-f254aa5 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2020 License: MIT Imports: 10 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MustWriteString255

func MustWriteString255(buf *bytes.Buffer, s string)

func ReadBoolWithByte

func ReadBoolWithByte(b byte) bool

func ReadByteSliceWithUint32Len

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

func ReadByteSliceWithUint32LenNoAlloc

func ReadByteSliceWithUint32LenNoAlloc(r io.Reader, tmpB []byte) (outB []byte, err error)

func ReadByteSliceWithUint32LenNoAllocLimitMaxSize

func ReadByteSliceWithUint32LenNoAllocLimitMaxSize(r io.Reader, tmpB []byte, maxSize uint32) (outB []byte, err error)

func ReadByteSliceWithUint32LenToBufW

func ReadByteSliceWithUint32LenToBufW(r io.Reader, bufW *udwBytes.BufWriter) (err error)

func ReadFloat64

func ReadFloat64(b []byte) float64

func ReadString255

func ReadString255(r io.Reader) (s string, err error)

func ReadString255WithByteSlice

func ReadString255WithByteSlice(b []byte) (s string, err error)

func ReadUint32NoAlloc

func ReadUint32NoAlloc(r io.Reader, tmpB []byte) (out uint32, err error)

func ReadUint32NoAllocV2

func ReadUint32NoAllocV2(r io.Reader) (out uint32, err error)

func WriteBool

func WriteBool(buf *bytes.Buffer, b bool)

func WriteByteSliceWithUint32Len

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

func WriteByteSliceWithUint32LenNoAlloc

func WriteByteSliceWithUint32LenNoAlloc(w io.Writer, b []byte, tmpB []byte) (err error)

func WriteByteSliceWithUint32LenNoAllocV2

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

func WriteByteSliceWithUint32LenNoAllocV3

func WriteByteSliceWithUint32LenNoAllocV3(w io.Writer, b []byte, tmpB *udwBytes.BufWriter) (err error)

func WriteFloat64

func WriteFloat64(buf *bytes.Buffer, f float64)

func WriteUint16

func WriteUint16(buf *bytes.Buffer, i uint16)

func WriteUint32

func WriteUint32(buf *bytes.Buffer, i uint32)

func WriteUint64

func WriteUint64(buf *bytes.Buffer, i uint64)

Types

This section is empty.

Jump to

Keyboard shortcuts

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