Versions in this module Expand all Collapse all v1 v1.2.0 Aug 8, 2023 v1.1.0 Aug 8, 2023 Changes in this version + type BinaryWriter interface + Data func() []byte + type BitWriter interface + FinishByte func() + SkipBits func(skip int) error + WriteBit func(bit int) error + WriteBits func(bits uint64, number int) (n int, err error) + type Buffer struct + func BufferedMSB() *Buffer + func (b *Buffer) Data() []byte + func (b *Buffer) FinishByte() + func (b *Buffer) Len() int + func (b *Buffer) Reset() + func (b *Buffer) ResetBitIndex() + func (b *Buffer) SkipBits(skip int) error + func (b *Buffer) Write(d []byte) (int, error) + func (b *Buffer) WriteBit(bit int) error + func (b *Buffer) WriteBits(bits uint64, number int) (n int, err error) + func (b *Buffer) WriteByte(bt byte) error + type Writer struct + func New(data []byte) *Writer + func NewMSB(data []byte) *Writer + func (w *Writer) Data() []byte + func (w *Writer) FinishByte() + func (w *Writer) ResetBit() + func (w *Writer) SkipBits(skip int) error + func (w *Writer) UseMSB() bool + func (w *Writer) Write(p []byte) (int, error) + func (w *Writer) WriteBit(bit int) error + func (w *Writer) WriteBits(bits uint64, number int) (n int, err error) + func (w *Writer) WriteByte(c byte) error