package
Version:
v1.2.1
Opens a new window with list of versions in this module.
Published: Nov 12, 2021
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
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(src *[10]byte) (dst [16]byte)
Encode returns the sno32-encoded representation of src as an array of 16 bytes.
Snotime returns the current wall clock time reported by the OS as adjusted to our internal epoch.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.