package bitpack

Import Path
	github.com/parquet-go/parquet-go/internal/bitpack (on go.dev)

Dependency Relation
	imports 3 packages, and imported by 3 packages

Involved Source Files Package bitpack implements efficient bit packing and unpacking routines for integers of various bit widths. pack.go unpack.go unpack_int32_amd64.go unpack_int32_le.go unpack_int64_amd64.go masks_int32_amd64.s unpack_int32_amd64.s unpack_int64_amd64.s
Package-Level Functions (total 5)
ByteCount returns the number of bytes needed to hold the given bit count.
PackInt32 packs values from src to dst, each value is packed into the given bit width regardless of how many bits are needed to represent it. The function panics if dst is too short to hold the bit packed values.
PackInt64 packs values from src to dst, each value is packed into the given bit width regardless of how many bits are needed to represent it. The function panics if dst is too short to hold the bit packed values.
UnpackInt32 unpacks 32 bit integers from src to dst. The function unpacked len(dst) integers, it panics if src is too short to contain len(dst) values of the given bit width.
UnpackInt64 unpacks 64 bit integers from src to dst. The function unpacked len(dst) integers, it panics if src is too short to contain len(dst) values of the given bit width.
Package-Level Constants (total 2)
PaddingInt32 is the padding expected to exist after the end of input buffers for the UnpackInt32 algorithm to avoid reading beyond the end of the input.
PaddingInt64 is the padding expected to exist after the end of input buffers for the UnpackInt32 algorithm to avoid reading beyond the end of the input.