# Functions
BigToHash sets byte representation of b to hash.
Bytes2Hex returns the hexadecimal encoding of d.
BytesToHash sets b to hash.
BytesToHexString encodes bytes as a hex string.
CopyBytes returns an exact copy of the provided bytes.
No description provided by the author
No description provided by the author
EnableAllVerbose sets debug vars to true.
No description provided by the author
No description provided by the author
FromHex returns the bytes represented by the hexadecimal string s.
Has0xPrefix validates str begins with '0x' or '0X'.
Hex2Bytes returns the bytes represented by the hexadecimal string str.
Hex2BytesFixed returns bytes of a specified fixed length flen.
HexStringToBytes hex string as bytes.
HexToHash sets byte representation of s to hash.
No description provided by the author
LeftPadBytes zero-pads slice to the left up to length l.
RightPadBytes zero-pads slice to the right up to length l.
ToHex returns the hex representation of b, prefixed with '0x'.
ToHexArray creates a array of hex-string based on []byte.
returns "{}" on failure case.
TrimLeftZeroes returns a subslice of s without leading zeroes.
# Constants
AmountDecimalPoint TRX decimal point.
DefaultConfigAccountAliasesDirName fro accounts.
DefaultPassphrase for accounts.
HashLength is the expected length of the hash.
Secp256k1PrivateKeyBytesLength privete key.
# Variables
No description provided by the author
No description provided by the author
DefaultConfigDirName for wallets.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Type aliases
Hash represents the 32 byte Keccak256 hash of arbitrary data.