Categorygithub.com/rupertchen/go-bits
modulepackage
0.2.0
Repository: https://github.com/rupertchen/go-bits.git
Documentation: pkg.go.dev

# README

go-bits

Go-bits is a utility for working with sequences of bits.

Read the package documentation_ for more information.

.. _package documentation: https://godoc.org/github.com/rupertchen/go-bits

# Functions

NewBitmap returns a new Bitmap from a slice of bytes.
NewBitmapFromBlocks returns a new Bitmap from a slice of Blocks.
NewReader returns a Reader that reads from src.

# Structs

Bitmap represents a fixed-length, sequence of bits.
Reader provides a convenient way to read bits, up to 64 at a time.

# Type aliases

Block contains a sequence of 0–64 bits.