bitmap

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2023 License: Unlicense Imports: 2 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 struct {
	// contains filtered or unexported fields
}

func NewBitMap

func NewBitMap(size int) *BitMap

func (*BitMap) GetBit

func (b *BitMap) GetBit(bitIndex int) bool

func (*BitMap) Scan

func (b *BitMap) Scan(value any) error

Scan implements the Scanner interface.

func (*BitMap) SetBit

func (b *BitMap) SetBit(bitIndex int, on bool)

func (BitMap) Value

func (b BitMap) Value() (driver.Value, error)

Value implements the driver Valuer interface.

Jump to

Keyboard shortcuts

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