bitio

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 19, 2026 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Reader

type Reader struct {
	// contains filtered or unexported fields
}

func NewReader

func NewReader(b []byte) *Reader

func (*Reader) ReadBit

func (r *Reader) ReadBit() (byte, error)

func (*Reader) Remaining

func (r *Reader) Remaining() int

func (*Reader) TotalBits

func (r *Reader) TotalBits() int

type Writer

type Writer struct {
	// contains filtered or unexported fields
}

func NewWriter

func NewWriter() *Writer

func (*Writer) BitsWritten

func (w *Writer) BitsWritten() int

func (*Writer) Bytes

func (w *Writer) Bytes() []byte

func (*Writer) WriteBit

func (w *Writer) WriteBit(bit byte)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL