internal

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decode

func Decode(src []byte) (dst [10]byte)

Decode returns the binary representation of a sno32-encoded src as an array of bytes.

Src does not get validated and must have a length of 16 - otherwise Decode will panic.

func Encode

func Encode(src *[10]byte) (dst [16]byte)

Encode returns the sno32-encoded representation of src as an array of 16 bytes.

func Snotime

func Snotime() uint64

Snotime returns the current wall clock time reported by the OS as adjusted to our internal epoch.

Types

This section is empty.

Jump to

Keyboard shortcuts

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