Documentation ¶
Index ¶
- func Assert(val bool, message string)
- func BytesToBigInt(b []byte) *big.Int
- func CheckEOF(conn *net.Conn)
- func CheckErr(err error, message string)
- func Delay(f func(), interval int64)
- func Fill(buffer *bytes.Buffer, length int)
- func Flatten[T any](arrays [][]T) []T
- func MarshalCBOR(val interface{}) []byte
- func NewLogger(prefix string, enabled bool) *log.Logger
- func Pad[T any](src []T, size int) []T
- func Read(reader io.Reader, length uint) []byte
- func ReadBE[T any](reader io.Reader) T
- func ReadLE[T any](reader io.Reader) T
- func SetLogOutput(out io.Writer)
- func SizeOf[T any]() uint8
- func StartRecurringFunction(f func(), interval int64) chan interface{}
- func ToBE[T any](val T) []byte
- func ToLE[T any](val T) []byte
- func Utf16encode(message string) []byte
- func Write(writer io.Writer, data []byte)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BytesToBigInt ¶
func MarshalCBOR ¶
func MarshalCBOR(val interface{}) []byte
func SetLogOutput ¶
func StartRecurringFunction ¶
func StartRecurringFunction(f func(), interval int64) chan interface{}
func Utf16encode ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.