package
1.2.23
Repository: https://github.com/multiversx/mx-chain-core-go.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author

# Functions

NewSizeCheckUnmarshalizer creates a wrapper around an existing marshalizer m which, during unmarshaling, also checks that the provided buffer dose not contain additional unused data.

# Variables

ErrMarshallingProto is raised when the object does not implement proto.Message.
ErrUnknownMarshalizer signals that the specified marshalizer does not have a ready to use implementation.
ErrUnmarshallingBadSize is raised when the provided serialized data size exceeds the re-serialized data size plus an additional provided delta.
ErrUnmarshallingProto is raised when the object that needs to be unmarshaled does not implement proto.Message.
MarshalizersAvailableForTesting represents all marshalizers registered that will be used in tests.

# Structs

GogoProtoMarshalizer implements marshaling with protobuf.
JsonMarshalizer implements Marshalizer interface using JSON format.
TxJsonMarshalizer represents a custom marshalizer for transactions which does not escape HTML characters in strings.

# Interfaces

GogoProtoObj groups the necessary of a gogo protobuf marshalizeble object.
Marshalizer defines the 2 basic operations: serialize (marshal) and deserialize (unmarshal).
Sizer contains method Size that is needed to get the size of a proto obj.