bitvector

package
v3.6.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2020 License: GPL-3.0, LGPL-3.0, LGPL-3.0-or-later Imports: 1 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BitVector

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

func New

func New(l int) (bv *BitVector, err error)

func NewFromBytes

func NewFromBytes(b []byte, l int) (bv *BitVector, err error)

func (*BitVector) Bytes

func (bv *BitVector) Bytes() []byte

func (*BitVector) Get

func (bv *BitVector) Get(i int) bool

func (*BitVector) Length

func (bv *BitVector) Length() int

func (*BitVector) Set

func (bv *BitVector) Set(i int, v bool)

Jump to

Keyboard shortcuts

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