Documentation ¶
Index ¶
- type Bitstream
- func (bs *Bitstream) GetCountBitsLeft() uint
- func (bs *Bitstream) GetData() []byte
- func (bs *Bitstream) GetDataAtCurrentOffset() []byte
- func (bs *Bitstream) GetDataAtEnd() []byte
- func (bs *Bitstream) GetSizeInBytes() int
- func (bs *Bitstream) IsNextBitSet() bool
- func (bs *Bitstream) ReadBit() (bool, error)
- func (bs *Bitstream) ReadBits(count uint) (uint32, error)
- func (bs *Bitstream) Tell() uint
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bitstream ¶
type Bitstream struct {
// contains filtered or unexported fields
}
Bitstream allows to read individual bits from an array of bytes.
func NewBitstream ¶
NewBitstream creates a Bitstream from an array of bytes.
func (*Bitstream) GetCountBitsLeft ¶
func (*Bitstream) GetDataAtCurrentOffset ¶
func (*Bitstream) GetDataAtEnd ¶
func (*Bitstream) GetSizeInBytes ¶
func (*Bitstream) IsNextBitSet ¶
Click to show internal directories.
Click to hide internal directories.