package convert
import "github.com/google/trillian/storage/storagepb/convert"
Package convert contains helpers used by storage implementations.
Index ¶
- func Marshal(t smt.Tile, height uint) (*storagepb.SubtreeProto, error)
- func Unmarshal(sp *storagepb.SubtreeProto) (smt.Tile, error)
Functions ¶
func Marshal ¶
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.
Source Files ¶
- Version
- v1.3.13
- Published
- Feb 16, 2021
- Platform
- js/wasm
- Imports
- 4 packages
- Last checked
- 3 hours ago –
Tools for package owners.