Uint64

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Uint64

type Uint64 struct {
	Bytes [8]byte
}

Uint64 is a 32 bit value that stores an uint64

func New

func New() *Uint64

func (*Uint64) Decode

func (b *Uint64) Decode(by []byte) (out []byte)

func (*Uint64) DecodeOne

func (b *Uint64) DecodeOne(by []byte) *Uint64

func (*Uint64) Encode

func (b *Uint64) Encode() []byte

func (*Uint64) Get

func (b *Uint64) Get() uint64

func (*Uint64) Put

func (b *Uint64) Put(bits uint64) *Uint64

Jump to

Keyboard shortcuts

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