Documentation ¶
Index ¶
- func Int32FromBytes(bz []byte) int32
- func Int32ToBytes(id int32) []byte
- func Int64FromBytes(bz []byte) int64
- func Int64ToBytes(id int64) []byte
- func IsValidUID(uid string) bool
- func NewPubKeyMemory(bs []byte) []byte
- func PopStrAtIndex(s []string, i uint32) ([]string, string)
- func RemoveDuplicateStrs(strSlice []string) (list []string)
- func RemoveStr(s []string, r string) []string
- func StrBytes(p string) []byte
- func Uint64FromBytes(bz []byte) uint64
- func Uint64ToBytes(id uint64) []byte
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Int32FromBytes ¶
Int32FromBytes converts some fixed length bytes back into a int32.
func Int32ToBytes ¶
Int32ToBytes converts a int32 into fixed length bytes for use in store keys.
func Int64FromBytes ¶
Int64FromBytes converts some fixed length bytes back into a int64.
func Int64ToBytes ¶
Int64ToBytes converts a int64 into fixed length bytes for use in store keys.
func IsValidUID ¶
IsValidUID validates if a uid is in correct format
func NewPubKeyMemory ¶
func PopStrAtIndex ¶
PopStrAtIndex pops an string item from string slice by index.
func RemoveDuplicateStrs ¶
RemoveDuplicateStrs returns input array without duplicates
func Uint64FromBytes ¶
Uint64FromBytes converts some fixed length bytes back into a uint64.
func Uint64ToBytes ¶
Uint64ToBytes converts a uint64 into fixed length bytes for use in store keys.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.