package
module
Version:
v0.0.0-...-0bb783d
Opens a new window with list of versions in this module.
Published: Oct 7, 2021
License: GPL-3.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
¶
BoolToByte - converts bool to byte
BytesToFloat64 - converts bytes to float64
BytesToInt - converts byte array to int
BytesToInt32 - converts byte array to int
BytesToInt64 - converts byte array to int
Check checks for the error, logs it and sends back the bool value.
func NumToBytes(num interface{}) []byte
NumToBytes - converts integer to bytes, supports int32 and int64
Source Files
¶
Click to show internal directories.
Click to hide internal directories.