serialization

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseEnvelope

func ParseEnvelope(envelope *common.Envelope) (*common.Payload, *common.ChannelHeader, error)

ParseEnvelope parse the envelope content.

func UnmarshalTx

func UnmarshalTx(data []byte) (*protoblocktx.Tx, error)

UnmarshalTx unmarshal data bytes to protoblocktx.Tx.

func UnwrapEnvelope

func UnwrapEnvelope(message []byte) ([]byte, *common.ChannelHeader, error)

UnwrapEnvelope deserialize an envelope.

Types

This section is empty.

Jump to

Keyboard shortcuts

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