Documentation ¶
Index ¶
- func BigIntArrayToByteArray(input []*big.Int) [][]byte
- func ByteArrayToBigIntArray(input [][]byte) []*big.Int
- func ByteArrayToPkArray(input [][]byte) []*ecdsa.PublicKey
- func BytesToUint64(input []byte) uint64
- func PkArrayToByteArray(input []*ecdsa.PublicKey) [][]byte
- func StringToUint64(input string) uint64
- func Uint64StringToByte(input string) []byte
- func Uint64ToBytes(input uint64) []byte
- func Uint64ToString(input uint64) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BigIntArrayToByteArray ¶
BigIntArrayToByteArray can change []*big.Int to [][]byte
func ByteArrayToBigIntArray ¶
ByteArrayToBigIntArray can change [][]byte to big.Int
func ByteArrayToPkArray ¶
ByteArrayToPkArray can change [][]byte to []*ecdsa.PublicKey
func BytesToUint64 ¶
BytesToUint64 use a big.Int to transfer uint64 to bytes Must input a big.Int bytes
func PkArrayToByteArray ¶
PkArrayToByteArray can change []*ecdsa.PublicKey to [][]byte
func StringToUint64 ¶
StringToUint64 can change string to uint64 through a big.Int, Input must be a 10 base number
func Uint64StringToByte ¶
Uint64StringToByte can change uint64 string to bytes through a big.Int, Input must be a 10 base number
func Uint64ToBytes ¶
--------------------------------------------------------------------------- Uint64ToBytes use a big.Int to transfer uint64 to bytes Must use big.Int to reverse
func Uint64ToString ¶
Uint64ToString can change uint64 to string through a big.Int, output is a 10 base number
Types ¶
This section is empty.