createdat

package
v0.0.14 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2024 License: CC0-1.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const Len = 8

Variables

This section is empty.

Functions

This section is empty.

Types

type B

type B = []byte

type E

type E = error

type N added in v0.0.14

type N = int

type S

type S = string

type T

type T struct {
	Val *timestamp.T
}

func FromKey

func FromKey(k []byte) (p *T)

FromKey expects to find a datestamp in the 8 bytes before a serial in a key.

func New

func New(c *timestamp.T) (p *T)

func (*T) Len

func (c *T) Len() int

func (*T) Read

func (c *T) Read(buf *bytes.Buffer) (el keys.Element)

func (*T) Write

func (c *T) Write(buf *bytes.Buffer)

Jump to

Keyboard shortcuts

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