Source File
unpack.go
Belonging Package
github.com/parquet-go/parquet-go/internal/bitpack
package bitpack// 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.const PaddingInt32 = 16// 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.const PaddingInt64 = 32// 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.func ( []int32, []byte, uint) {_ = [:ByteCount(*uint(len())+8*PaddingInt32)]unpackInt32(, , )}// 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.func ( []int64, []byte, uint) {_ = [:ByteCount(*uint(len())+8*PaddingInt64)]unpackInt64(, , )}
![]() |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |