binary

package
v0.35.2 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package binary provides common utilities for working with binary data streams.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadU16Big

func ReadU16Big(r io.ByteReader) (uint16, error)

func ReadU24Little added in v0.35.0

func ReadU24Little(r io.ByteReader) (uint32, error)

func ReadU32Big

func ReadU32Big(r io.ByteReader) (uint32, error)

func ReadU32Little added in v0.35.0

func ReadU32Little(r io.ByteReader) (uint32, error)

func ReadU64Big

func ReadU64Big(r io.ByteReader) (uint64, error)

func WriteU32Big added in v0.17.5

func WriteU32Big(w io.Writer, n uint32) error

func WriteU32Little added in v0.35.0

func WriteU32Little(w io.Writer, n uint32) error

Types

type Reader

type Reader interface {
	io.Reader
	io.ByteReader
}

Jump to

Keyboard shortcuts

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