encoding

package
v0.0.0-...-33463eb Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2024 License: BSD-3-Clause Imports: 2 Imported by: 10

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Float32

func Float32(b []byte) float32

Float32 decodes bytes as float32 in network byte order (big endian)

func Float32LswFirst

func Float32LswFirst(b []byte) float32

Float32LswFirst decodes bytes as float32 in network byte order (big endian) with least significant word first

func Float64

func Float64(b []byte) float64

Float64 decodes bytes as float64 in network byte order (big endian)

func Float64LswFirst

func Float64LswFirst(b []byte) float64

Float64LswFirst decodes bytes as float64 in network byte order (big endian) with least significant word first

func Int16

func Int16(b []byte) int16

Int16 decodes bytes as int16 in network byte order (big endian)

func Int32

func Int32(b []byte) int32

Int32 decodes bytes as int32 in network byte order (big endian)

func Int32LswFirst

func Int32LswFirst(b []byte) int32

Int32LswFirst decodes bytes as int32 in network byte order (big endian) with least significant word first

func Int64

func Int64(b []byte) int64

Int64 decodes bytes as int64 in network byte order (big endian)

func Int64LswFirst

func Int64LswFirst(b []byte) int64

Int64LswFirst decodes bytes as int64 in network byte order (big endian) with least significant word first

func PutFloat32

func PutFloat32(b []byte, v float32)

func PutFloat32LswFirst

func PutFloat32LswFirst(b []byte, v float32)

func PutFloat64

func PutFloat64(b []byte, v float64)

func PutFloat64LswFirst

func PutFloat64LswFirst(b []byte, v float64)

func PutInt16

func PutInt16(b []byte, v int16)

func PutInt32

func PutInt32(b []byte, v int32)

func PutInt32LswFirst

func PutInt32LswFirst(b []byte, v int32)

func PutInt64

func PutInt64(b []byte, v int64)

func PutInt64LswFirst

func PutInt64LswFirst(b []byte, v int64)

func PutUint16

func PutUint16(b []byte, v uint16)

func PutUint32

func PutUint32(b []byte, v uint32)

func PutUint32LswFirst

func PutUint32LswFirst(b []byte, v uint32)

func PutUint64

func PutUint64(b []byte, v uint64)

func PutUint64LswFirst

func PutUint64LswFirst(b []byte, v uint64)

func StringLsbFirst

func StringLsbFirst(s []byte) string

StringLsbFirst decodes bytes as string with words in little endian encoding

func Uint16

func Uint16(b []byte) uint16

Uint16 decodes bytes as uint16 in network byte order (big endian)

func Uint32

func Uint32(b []byte) uint32

Uint32 decodes bytes as uint32 in network byte order (big endian)

func Uint32LswFirst

func Uint32LswFirst(b []byte) uint32

Uint32LswFirst decodes bytes as uint32 in network byte order (big endian) with least significant word first

func Uint64

func Uint64(b []byte) uint64

Uint64 decodes bytes as uint64 in network byte order (big endian)

func Uint64LswFirst

func Uint64LswFirst(b []byte) uint64

Uint64LswFirst decodes bytes as uint64 in network byte order (big endian) with least significant word first

Types

This section is empty.

Jump to

Keyboard shortcuts

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