Help us shape the future of Go! Take the 2026 Go Developer Survey

convert

package
v1.3.5 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package convert contains helpers used by storage implementations.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Marshal

func Marshal(t smt.Tile, height uint) (*storagepb.SubtreeProto, error)

Marshal converts the given Merkle tree tile to SubtreeProto.

func Unmarshal

func Unmarshal(sp *storagepb.SubtreeProto) (smt.Tile, error)

Unmarshal converts the given SubtreeProto to a Merkle tree tile.

Types

This section is empty.

Jump to

Keyboard shortcuts

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