help

package
v0.16.1 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2025 License: Unlicense Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Ask

func Ask(raw []byte) (source.Ask, bool)

Ask returns an Ask with angstrom precision. The total byte count must not exceed 21.

func Bid

func Bid(raw []byte) (source.Bid, bool)

Bid returns a Bid with angstrom precision. The total byte count must not exceed 21.

func Error

func Error(hint []byte) error

func RFC3339

func RFC3339(raw []byte) (unixTime int64, ok bool)

RFC3339 parses an RFC 3339 timestamp and returns the number of nanoseconds since the Unix epoch. Only UTC ('Z') is accepted; no numeric offsets or leap seconds. There is no day-of-month validation. Year must be in [2025, 2125). Fractional seconds may have 1–9 digits or be omitted.

func Uint64

func Uint64(raw []byte) (uint64, bool)

Uint64 returns a uint64 with angstrom precision. The total byte count must not exceed 21.

Types

This section is empty.

Jump to

Keyboard shortcuts

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