...

Package byteorder

import "internal/byteorder"
Overview
Index

Overview ▾

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

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