byteorder

package standard library
go1.23.3 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2024 License: BSD-3-Clause Imports: 0 Imported by: 0

Documentation

Overview

Package byteorder provides functions for decoding and encoding little and big endian integer types from/to byte slices.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BeAppendUint16

func BeAppendUint16(b []byte, v uint16) []byte

func BeAppendUint32

func BeAppendUint32(b []byte, v uint32) []byte

func BeAppendUint64

func BeAppendUint64(b []byte, v uint64) []byte

func BePutUint16

func BePutUint16(b []byte, v uint16)

func BePutUint32

func BePutUint32(b []byte, v uint32)

func BePutUint64

func BePutUint64(b []byte, v uint64)

func BeUint16

func BeUint16(b []byte) uint16

func BeUint32

func BeUint32(b []byte) uint32

func BeUint64

func BeUint64(b []byte) uint64

func LeAppendUint16

func LeAppendUint16(b []byte, v uint16) []byte

func LeAppendUint32

func LeAppendUint32(b []byte, v uint32) []byte

func LeAppendUint64

func LeAppendUint64(b []byte, v uint64) []byte

func LePutUint16

func LePutUint16(b []byte, v uint16)

func LePutUint32

func LePutUint32(b []byte, v uint32)

func LePutUint64

func LePutUint64(b []byte, v uint64)

func LeUint16

func LeUint16(b []byte) uint16

func LeUint32

func LeUint32(b []byte) uint32

func LeUint64

func LeUint64(b []byte) uint64

Types

This section is empty.

Jump to

Keyboard shortcuts

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