uid16r

package
v0.0.0-...-faa4823 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2018 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EncodeStd = "0345678abcdefghijklmnopqrstuvwxy"

	Size = 16
)

Variables

View Source
var (
	EncodedSize = encoding.EncodedLen(Size)
)

Functions

This section is empty.

Types

type UId16r

type UId16r [Size]byte

func (UId16r) Bytes

func (u UId16r) Bytes() []byte

func (*UId16r) Shorten

func (u *UId16r) Shorten() string

func (UId16r) String

func (u UId16r) String() string

type UId16rGen

type UId16rGen struct {
	// contains filtered or unexported fields
}

func NewUId16rGen

func NewUId16rGen() *UId16rGen

func (*UId16rGen) FromBytes

func (gen *UId16rGen) FromBytes(input []byte) (u UId16r, err error)

func (*UId16rGen) FromString

func (gen *UId16rGen) FromString(input string) (u UId16r, err error)

func (*UId16rGen) New

func (gen *UId16rGen) New() UId16r

Jump to

Keyboard shortcuts

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