package
module
Version:
v0.0.0-...-73b74c8
Opens a new window with list of versions in this module.
Published: Feb 14, 2021
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
go-bitset
Bitset implementation in Golang
Documentation
¶
New creates and returns a bitset of a specified length, with all bits set to 0
AppendBit appends a bit to the end of the bitset
AppendBitset appends a bitset to another
Get returns the bit at a given position as a uint8
Length returns the length of the bitset
Set sets the bit in the bitset at a given position
Unset unsets the bit in the bitset at a given position
Source Files
¶
Click to show internal directories.
Click to hide internal directories.