ur

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: May 4, 2023 License: Unlicense Imports: 5 Imported by: 0

Documentation

Overview

Package ur implements the Uniform Resources (UR) encoding specified in BCR-2020-005.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Encode

func Encode(_type string, message []byte, seqNum, seqLen int) string

Types

type Decoder

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

func (*Decoder) Add

func (d *Decoder) Add(ur string) error

func (*Decoder) Progress

func (d *Decoder) Progress() float32

func (*Decoder) Result

func (d *Decoder) Result() (string, []byte, error)

Jump to

Keyboard shortcuts

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