# Packages
Package hexutil implements hex encoding with 0x prefix.
# Functions
AppDataDir returns an operating system specific directory to be used for storing application data for an application.
No description provided by the author
CleanAndExpandPath expands environment variables and leading ~ in the passed path, cleans the result, and returns it.
No description provided by the author
FilesExists reports whether the named file or directory exists.
No description provided by the author
No description provided by the author
No description provided by the author
MustDecodeHex wrap the calling to hex.DecodeString() method to return the bytes represented by the hexadecimal string.
MustHex2Bytes returns the bytes represented by the hexadecimal string str.
init.
convert from bytes.
No description provided by the author
PaddedAppend appends the src byte slice to dst, returning the new slice.
PaddedBytes encodes a big integer as a big-endian byte slice, if the length of byte slice is smaller than the passed size, leading zero bytes will be added.
ReadRand read size bytes from input rand if input rand is nil, use crypto/rand.
No description provided by the author
No description provided by the author
# Structs
BitVector this is design for cuckoo hash bytes.
No description provided by the author
# Type aliases
No description provided by the author
timeSorter implements sort.Interface to allow a slice of timestamps to be sorted.