Documentation
¶
Index ¶
- func BytesToUInt32(slice []byte) uint32
- func BytesToUInt64(slice []byte) uint64
- func ConcatByteArray(slices [][]byte) []byte
- func GetEpochTime() int64
- func PutUInt32ToBytes(val uint32) []byte
- func ToJSON(obj interface{}) ([]byte, error)
- func UInt32ToBytes(val uint32) []byte
- func UInt64ToBytes(val uint64) []byte
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BytesToUInt32 ¶
BytesToUInt32 convert byte slice to uint32
func BytesToUInt64 ¶
BytesToUInt64 convert byte slice to uint32
func ConcatByteArray ¶
ConcatByteArray concat slice of bytes to single slice
func PutUInt32ToBytes ¶
PutUInt32ToBytes put uint32 to LittleEndian one byte
func UInt32ToBytes ¶
UInt32ToBytes convert uint32 to LittleEndian byte slice
func UInt64ToBytes ¶
UInt64ToBytes convert uint64 to byte slice
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.