Documentation ¶
Index ¶
- func Bin2HStr(data []byte) string
- func Bin2Pks(binPks [][]byte) []string
- func Bin2QAddresses(binAddresses [][]byte) []string
- func Bin2Qaddress(binAddress []byte) string
- func BytesToString(data []byte) string
- func BytesToUCharVector(data []byte) goqrllib.UcharVector
- func ConvertBytesToLong(b []byte) uint32
- func HStr2Bin(data string) []byte
- func Int64ToUCharVector(data int64) goqrllib.UcharVector
- func MerkleTXHash(hashes list.List) []byte
- func OTSKeyFromSig(signature []byte) uint64
- func PK2BinAddress(pk []byte) []byte
- func PK2Qaddress(pk []byte) string
- func Qaddress2Bin(qaddress string) []byte
- func Reverse(s [][]byte) [][]byte
- func Sha256(message string, length int64) []byte
- func ShorToQuanta(data uint64) string
- func ShorsToQuantas(data []uint64) []string
- func StringAddressToBytesArray(addrs []string) [][]byte
- func UCharVectorToBytes(data goqrllib.UcharVector) []byte
- func UCharVectorToString(data goqrllib.UcharVector) string
- func UInt64ToString(data []uint64) []string
- type UcharVector
- func (v *UcharVector) AddAt() goqrllib.UcharVector
- func (v *UcharVector) AddByte(data byte)
- func (v *UcharVector) AddBytes(data []byte)
- func (v *UcharVector) GetBytes() []byte
- func (v *UcharVector) GetBytesBuffer() bytes.Buffer
- func (v *UcharVector) GetData() goqrllib.UcharVector
- func (v *UcharVector) GetString() string
- func (v *UcharVector) New(data goqrllib.UcharVector)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Bin2QAddresses ¶
func Bin2Qaddress ¶
func BytesToString ¶
func BytesToUCharVector ¶
func BytesToUCharVector(data []byte) goqrllib.UcharVector
func ConvertBytesToLong ¶
func Int64ToUCharVector ¶
func Int64ToUCharVector(data int64) goqrllib.UcharVector
func MerkleTXHash ¶
func OTSKeyFromSig ¶
func PK2BinAddress ¶
func PK2Qaddress ¶
func Qaddress2Bin ¶
func ShorToQuanta ¶
func ShorsToQuantas ¶
func UCharVectorToBytes ¶
func UCharVectorToBytes(data goqrllib.UcharVector) []byte
func UCharVectorToString ¶
func UCharVectorToString(data goqrllib.UcharVector) string
func UInt64ToString ¶
Types ¶
type UcharVector ¶
type UcharVector struct {
// contains filtered or unexported fields
}
func NewUCharVector ¶
func NewUCharVector() *UcharVector
func (*UcharVector) AddAt ¶
func (v *UcharVector) AddAt() goqrllib.UcharVector
func (*UcharVector) AddByte ¶
func (v *UcharVector) AddByte(data byte)
func (*UcharVector) AddBytes ¶
func (v *UcharVector) AddBytes(data []byte)
func (*UcharVector) GetBytes ¶
func (v *UcharVector) GetBytes() []byte
func (*UcharVector) GetBytesBuffer ¶
func (v *UcharVector) GetBytesBuffer() bytes.Buffer
func (*UcharVector) GetData ¶
func (v *UcharVector) GetData() goqrllib.UcharVector
func (*UcharVector) GetString ¶
func (v *UcharVector) GetString() string
func (*UcharVector) New ¶
func (v *UcharVector) New(data goqrllib.UcharVector)
Click to show internal directories.
Click to hide internal directories.