Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BitReader ¶
type BitReader struct {
// contains filtered or unexported fields
}
BitReader reads bit by bit from an underlying reader.
func NewBitReader ¶
func NewBitReader(reader io.ByteReader) *BitReader
NewBitReader creates BitReader instance.
func (*BitReader) ReadUint16 ¶
ReadUint16 reads an uint16.
func (*BitReader) ReadUint32 ¶
ReadUint32 reads an uint32.
type BitWriter ¶
type BitWriter struct {
// contains filtered or unexported fields
}
BitWriter writes bit by bit to an underlying writer.
func NewBitWriter ¶
func NewBitWriter(writer io.ByteWriter) *BitWriter
NewBitWriter creates BitWriter instance.
func (*BitWriter) WriteUint16 ¶
WriteUint16 writes an uint16.
func (*BitWriter) WriteUint32 ¶
WriteUint32 writes an uint32.
func (*BitWriter) WriteUint8 ¶
WriteUint8 writes an uint8.
Click to show internal directories.
Click to hide internal directories.