storageutil

package
v2.1.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeserializeMetadata

func DeserializeMetadata(metadataBytes []byte) (map[string][]byte, error)

DeserializeMetadata deserializes metadata bytes from statedb

func SerializeMetadata

func SerializeMetadata(metadataEntries []*kvrwset.KVMetadataEntry) ([]byte, error)

SerializeMetadata serializes metadata entries for storing in statedb

func SerializeMetadataByMap

func SerializeMetadataByMap(metadataMap map[string][]byte) ([]byte, error)

SerializeMetadataByMap takes the metadata entries in the form of a map and serializes the metadata for storing in statedb

Types

This section is empty.

Jump to

Keyboard shortcuts

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