Documentation ¶
Index ¶
- func BytesToTime(b []byte) (time.Time, error)
- func BytesToUint64(b []byte) uint64
- func CopyBytes(b []byte) []byte
- func IsAllZeros(b []byte) bool
- func Sort(candidates map[string]*big.Int, seed uint64) []string
- func TimeToBytes(t time.Time) ([]byte, error)
- func Uint64ToBytes(u uint64) []byte
- func Uint64ToInt64(u uint64) int64
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BytesToTime ¶ added in v0.2.0
BytesToTime converts []byte to time
func IsAllZeros ¶ added in v0.1.9
IsAllZeros return true if all bytes are zero
func TimeToBytes ¶ added in v0.2.0
TimeToBytes converts time to []byte
func Uint64ToInt64 ¶ added in v0.2.0
Uint64ToInt64 converts uint64 to int64
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.