bitmap64

package
v0.21.0 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2021 License: BSD-3-Clause Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bitmap

type Bitmap [8]byte

Bitmap holds bits with indexes within range from 1 to 64

func New

func New(p []byte) Bitmap

func (*Bitmap) Get

func (b *Bitmap) Get(i int) bool

Get returns true or false for the indexes of the bits in range from 1 to 64

func (*Bitmap) Set

func (b *Bitmap) Set(i int)

Set sets true value for the indexes of the bits in range from 1 to 64

Jump to

Keyboard shortcuts

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