Documentation ¶
Index ¶
- func Btoi(b []byte, offset int, size int) int64
- func Btoi16(b []byte, offset int) int16
- func Btoi32(b []byte, offset int) int32
- func Btoi64(b []byte, offset int) int64
- func Btoui16(b []byte, offset int) uint16
- func Btoui32(b []byte, offset int) uint32
- func Itob16(v int16) []byte
- func Itob32(v int32) []byte
- func Itob64(v int64) []byte
- func SE[T int8 | int16 | int32 | int64](t *BitsReader) (r T)
- func U[T uint8 | uint16 | uint32 | uint64](t *BitsReader, n uint8) (r T)
- func UE[T uint8 | uint16 | uint32 | uint64](t *BitsReader) (r T)
- type BitsReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SE ¶ added in v0.28.20240806162427
func SE[T int8 | int16 | int32 | int64](t *BitsReader) (r T)
signed integer Exp-Golomb-coded syntax element with the left bit first
Types ¶
type BitsReader ¶ added in v0.28.20240806162427
type BitsReader struct { Data []byte // contains filtered or unexported fields }
func NewBitsReader ¶ added in v0.28.20240806162427
func NewBitsReader(Data []byte) *BitsReader
Click to show internal directories.
Click to hide internal directories.