Documentation
¶
Index ¶
- type BitBuffer
- func (b *BitBuffer) ReadUint8(length uint32) (uint8, error)
- func (b *BitBuffer) ReadUint16(length uint32) (uint16, error)
- func (b *BitBuffer) ReadUint32(length uint32) (uint32, error)
- func (b *BitBuffer) ReadUint64(length uint32) (uint64, error)
- func (b *BitBuffer) Set(src []byte)
- func (b *BitBuffer) Skip(length uint32) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BitBuffer ¶
type BitBuffer struct {
// contains filtered or unexported fields
}
BitBuffer reads buffer by the bit.
func (*BitBuffer) ReadUint16 ¶
ReadUint16 reads up to 16 bits and returns them as uint16.
func (*BitBuffer) ReadUint32 ¶
ReadUint32 reads up to 32 bits and returns them as uint32.
func (*BitBuffer) ReadUint64 ¶
ReadUint64 reads up to 64 bits and returns them as uint64.
Click to show internal directories.
Click to hide internal directories.