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(, , )
}