reference

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const ReferenceSize = 32

Variables

This section is empty.

Functions

func Equal

func Equal(a, b Reference) bool

func Hex

func Hex(ref Reference) string

Types

type Reference

type Reference [ReferenceSize]byte

func Compute

func Compute(data []byte) Reference

func FromHex

func FromHex(s string) (Reference, error)

func Hash

func Hash(data []byte) Reference

Jump to

Keyboard shortcuts

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