Versions in this module Expand all Collapse all v0 v0.0.3 Feb 7, 2021 Changes in this version + func AppDataDir(appName string, roaming bool) string + func CleanAndExpandPath(path string) string + func CopyBytes(b []byte) (copiedBytes []byte) + func FileExists(name string) bool + func FromHex(hex string) *big.Int + func HasHexPrefix(str string) bool + func LeftPadBytes(slice []byte, l int) []byte + func MustDecodeHexString(hexStr string) []byte + func MustHex2Bytes(str string) []byte + func PaddedAppend(size uint, dst, src []byte) []byte + func PaddedBytes(size uint, n *big.Int) []byte + func ReadSizedRand(rand io.Reader, size uint) []byte + func ReverseBytes(b []byte) + func RightPadBytes(slice []byte, l int) []byte + type BitVector struct + func New(l int) (bv *BitVector, err error) + func NewFromBytes(b []byte, l int) (bv *BitVector, err error) + func (bv *BitVector) Bytes() []byte + func (bv *BitVector) Get(i int) bool + func (bv *BitVector) Set(i int, v bool) + func (bv *BitVector) SetBitAt(pos int) + type IterativeQueue []interface + func (iq *IterativeQueue) Dequeue() interface{} + func (iq *IterativeQueue) Enqueue(item interface{}) + func (iq *IterativeQueue) Len() int + func (iq *IterativeQueue) Peek() interface{} + func NewIterativeQueue() IterativeQueue + type TimeSorter []int64 + func (s TimeSorter) Len() int + func (s TimeSorter) Less(i, j int) bool + func (s TimeSorter) Swap(i, j int) + type WaitGroupWrapper struct + func (w *WaitGroupWrapper) Wrap(cb func())