Documentation ¶
Overview ¶
Package binary replaces the encoding/binary package in the standard library for little endian encoding using generics.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Enc = binary.LittleEndian
Functions ¶
func Put ¶
func Put[T constraints.Integer](b []byte, v T)
Put puts any Uint size into a []byte slice.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.