package
1.0.0-rc.3
Repository: https://github.com/iotaledger/hive.go.git
Documentation: pkg.go.dev

# Functions

New creates a new MarshalUtil that can either be used for reading information from a slice of bytes or for writing information to a bytes buffer.

# Constants

BoolSize contains the amount of bytes of a marshaled bool value.
Float64Size contains the amount of bytes of a marshaled float64 value.
Int16Size contains the amount of bytes of a marshaled int16 value.
Int32Size contains the amount of bytes of a marshaled int32 value.
Int64Size contains the amount of bytes of a marshaled int64 value.
Int8Size contains the amount of bytes of a marshaled int8 value.
TimeSize contains the amount of bytes of a marshaled Time value.
Uint16Size contains the amount of bytes of a marshaled uint16 value.
Uint32Size contains the amount of bytes of a marshaled uint32 value.
Uint64Size contains the amount of bytes of a marshaled uint64 value.
Uint8Size contains the amount of bytes of a marshaled uint8 value.

# Structs

MarshalUtil is a utility for reading/writing from/to a byte buffer that internally manages the offsets automatically.

# Interfaces

SimpleBinaryMarshaler represents objects that have a Bytes method for marshaling.