boltutil

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BytesToUint64

func BytesToUint64(b []byte) uint64

BytesToUint64 converts the given bytes to a compatible uint64 value. It is used for reading the uint64 from a stored BoltDB record. If returned 0 if the given bytes are incompatible.

func Uint64ToBytes

func Uint64ToBytes(u uint64) []byte

Uint64ToBytes converts the given uint64 to a stream of bytes to store in BoltDB.

Types

This section is empty.

Jump to

Keyboard shortcuts

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