utils

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2021 License: Apache-2.0 Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bitmap

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

func NewBitmap

func NewBitmap(l int) *Bitmap

func NewBitmapFromData

func NewBitmapFromData(data []byte) *Bitmap

func (*Bitmap) Bytes

func (b *Bitmap) Bytes() []byte

func (*Bitmap) IsSet

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

func (*Bitmap) Len

func (b *Bitmap) Len() int

Return number of bits in the bitmap

func (*Bitmap) Set

func (b *Bitmap) Set(i int)

func (*Bitmap) String

func (b *Bitmap) String() string

Jump to

Keyboard shortcuts

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