xnum

package
v0.3.5 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func B1

func B1(val uint8) []byte

func B2

func B2(val uint16) []byte

func B4

func B4(val uint32) []byte

func B8

func B8(val uint64) []byte

convert uint into big-endian bytes buffer

func I16

func I16(buffer []byte) int16

func I32

func I32(buffer []byte) int32

func I64

func I64(buffer []byte) int64

convert big-endian bytes buffer into int

func I8

func I8(buffer []byte) int8

func Q1

func Q1(val int8) []byte

func Q2

func Q2(val int16) []byte

func Q4

func Q4(val int32) []byte

func Q8

func Q8(val int64) []byte

convert int into big-endian bytes buffer

func U16

func U16(buffer []byte) uint16

func U32

func U32(buffer []byte) uint32

func U64

func U64(buffer []byte) uint64

convert big-endian bytes buffer into uint

func U8

func U8(buffer []byte) uint8

Types

This section is empty.

Jump to

Keyboard shortcuts

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