binary

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2025 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadFloat32

func ReadFloat32(r io.Reader) (float32, error)

ReadFloat32 reads a float32 using a pooled buffer.

func ReadString

func ReadString(r io.Reader) (string, error)

ReadString reads a string from a reader.

func ReadUint16 added in v0.5.0

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

ReadUint16 reads a uint16 using a pooled buffer.

func ReadUint32

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

ReadUint32 reads a uint32 using a pooled buffer.

func ReadUint64

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

ReadUint64 reads a uint64 using a pooled buffer.

func WriteFloat32

func WriteFloat32(w io.Writer, v float32) error

WriteFloat32 writes a float32 using a pooled buffer.

func WriteString

func WriteString(w io.Writer, str string) error

WriteString writes a string to a writer.

func WriteUint16 added in v0.5.0

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

WriteUint16 writes a uint16 using a pooled buffer.

func WriteUint32

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

WriteUint32 writes a uint32 using a pooled buffer.

func WriteUint64

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

WriteUint64 writes a uint64 using a pooled buffer.

Types

This section is empty.

Jump to

Keyboard shortcuts

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