util

package
v1.6.1 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2024 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BitSetToBigInt

func BitSetToBigInt(set *bitset.BitSet) *big.Int

func QuotedStrToIntWithBitSize

func QuotedStrToIntWithBitSize(str string, bitSize int) (uint64, error)

QuotedStrToIntWithBitSize convert a QuoteStr ""6"" to int 6

func StrToBigInt added in v1.6.0

func StrToBigInt(str string) (*big.Int, error)

func Uint16ToBytes

func Uint16ToBytes(num uint16) []byte

func Uint64ToBytes

func Uint64ToBytes(num uint64) []byte

Types

This section is empty.

Jump to

Keyboard shortcuts

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