bitfield

package module
v1.0.0 Latest Latest
Warning

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

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

README

go-bitfield

Deprecated shim: use github.com/ipfs/go-bitfield.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bitfield deprecated

type Bitfield = newbf.Bitfield

Deprecated: Use github.com/ipfs/go-bitfield.Bitfield

func FromBytes deprecated

func FromBytes(size int, bits []byte) Bitfield

FromBytes constructs a new bitfield from a serialized bitfield.

Deprecated: Use github.com/ipfs/go-bitfield.FromBytes

func NewBitfield deprecated

func NewBitfield(size int) Bitfield

NewBitfield creates a new fixed-sized Bitfield (allocated up-front).

Panics if size is not a multiple of 8.

Deprecated: Use github.com/ipfs/go-bitfield.NewBitfield

Jump to

Keyboard shortcuts

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