bin

package
v0.0.0-...-2f2df4f Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package bin contains utilities for dealing with binary representations.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bytes

func Bytes[T ~int32 | ~uint32](v T) [4]byte

func Read

func Read[T ~int32 | ~uint32](r io.Reader) (T, error)

func Value

func Value[T ~int32 | ~uint32](data [4]byte) T

func Write

func Write[T ~int32 | ~uint32](w io.Writer, v T) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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