bit_packing

package module
v0.0.0-...-54a7c7d Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2023 License: MIT Imports: 1 Imported by: 0

README

Big Packing算法的Go实现

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecodeBoolSlice

func DecodeBoolSlice(byteSlice []byte) []bool

func DecodeIntSliceFromBytes

func DecodeIntSliceFromBytes()

func EncodeBoolSlice

func EncodeBoolSlice(boolSlice []bool) []byte

EncodeBoolSlice 把bool数组编码为字节数组

func EncodeIntSliceToBytes

func EncodeIntSliceToBytes[T gtypes.Unsigned](slice []T, byteLength int) []byte

EncodeIntSliceToBytes 把int类型的数组编码为字节数组

Types

This section is empty.

Jump to

Keyboard shortcuts

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