Documentation ¶
Overview ¶
Package bitfield provides a simple and efficient arbitrary size bit field implementation. It doesn't attempt to cover everything that could be done with bit fields, providing only things used by neo-go.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Field ¶
type Field []uint64
Field is a bit field represented as a slice of uint64 values.
func New ¶
New creates a new bit field of specified length. Actual field length can be rounded to the next multiple of 64, so it's a responsibility of the user to deal with that.
Click to show internal directories.
Click to hide internal directories.