Documentation ¶
Overview ¶
Package byteutil provides utilities for working with bytes using little endian binary encoding.
Index ¶
Constants ¶
View Source
const MaxUint24 = 1<<24 - 1
MaxUint24 is the maximum value representable 3-octet uint.
Variables ¶
This section is empty.
Functions ¶
func AppendUint16 ¶
AppendUint16 appends v to dst using little endian binary encoding using at most byteCount bytes.
func AppendUint32 ¶
AppendUint32 appends v to dst using little endian binary encoding using at most byteCount bytes.
func AppendUint64 ¶
AppendUint64 appends v to dst using little endian binary encoding using at most byteCount bytes.
func ParseUint32 ¶
ParseUint32 parses uint32 from b assuming little endian binary encoding.
func ParseUint64 ¶
ParseUint64 parses uint64 from b assuming little endian binary encoding.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.