bitlist

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2024 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CompactBitList

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

CompactBitList allows your units to be of arbitrary bit size.

func NewCompactBitList

func NewCompactBitList(unitBitSize int) *CompactBitList

func (*CompactBitList) Append

func (m *CompactBitList) Append(v uint64)

func (*CompactBitList) Get

func (m *CompactBitList) Get(iUnit int) (v uint64)

func (*CompactBitList) Set

func (m *CompactBitList) Set(iUnit int, v uint64)

Set function is not optimized yet.

func (*CompactBitList) Tighten

func (m *CompactBitList) Tighten()

Jump to

Keyboard shortcuts

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