Documentation ¶
Index ¶
- func BytesToUint16(bytes []byte) uint16
- func BytesToUint32(bytes []byte) uint32
- func BytesToUint64(bytes []byte) uint64
- func CidToToken(cid string) uint64
- func HashBlake2b256(data []byte) []byte
- func IsSuccessHttpStatus(code int) bool
- func RandomInt64(max int64) (int64, error)
- func RemoveSorted[T any](slice []T, i int) []T
- func Uint16ToBytes(number uint16) []byte
- func Uint32ToBytes(number uint32) []byte
- func Uint64ToBytes(number uint64) []byte
- func Xor(left []byte, right []byte) []byte
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BytesToUint16 ¶
func BytesToUint32 ¶
func BytesToUint64 ¶
func CidToToken ¶
func HashBlake2b256 ¶
func IsSuccessHttpStatus ¶
func RandomInt64 ¶
func RemoveSorted ¶
func Uint16ToBytes ¶
func Uint32ToBytes ¶
func Uint64ToBytes ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.