util

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 16, 2023 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetWordList

func GetWordList() []string

Types

type Number

type Number struct {
	Value int64
}

func NewNumber

func NewNumber(val int64) Number

NewNumber creates a new num instance with the provided value.

func (Number) DeserializeFromBinaryStream

func (number Number) DeserializeFromBinaryStream(buf []byte) (Number, error)

DeserializeFromBinaryStream deserializes the num struct from a binary stream.

func (Number) IDByte

func (number Number) IDByte() byte

func (Number) SerializeToBinaryStream

func (number Number) SerializeToBinaryStream(buf []byte) error

SerializeToBinaryStream serializes the num struct to a binary stream.

func (Number) StrideLength

func (number Number) StrideLength() serialization.Length

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL