algorithm

package
v0.0.0-...-5a8239b Latest Latest
Warning

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

Go to latest
Published: May 22, 2018 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetPackedUInt32Length

func GetPackedUInt32Length(v uint32) uint32

GetPackedUInt32Length return the byte count of v when it was packed

func PackUInt32

func PackUInt32(v uint32) []byte

PackUInt32 convert an uint32 value to several bytes

func UnPackUInt32

func UnPackUInt32(data []byte) (uint32, error)

UnPackUInt32 convert the first several bytes to an uint32 if it match the format

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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