Documentation
¶
Index ¶
- Constants
- type Marshaller
- type MsgArray
- type MsgArrayCustom
- type MsgArrayFloat32
- type MsgArrayFloat32Custom
- type MsgArrayFloat64
- type MsgArrayFloat64Custom
- type MsgArrayInt8
- type MsgArrayInt8Custom
- type MsgArrayUint8
- type MsgArrayUint8Custom
- type MsgArrayUint8Custom2
- type MsgBool3
- type MsgBool10
- type MsgBoolCustom
- type MsgFloat32
- type MsgFloat32Custom
- type MsgFloat64
- type MsgFloat64Custom
- type MsgInt8
- type MsgInt8Custom
- type MsgInt16
- type MsgInt16Custom
- type MsgInt32
- type MsgInt32Custom
- type MsgInt64
- type MsgInt64Custom
- type MsgMap
- type MsgMapCustom
- type MsgMapString
- type MsgMixed
- type MsgMixedCustom
- type MsgSlice
- type MsgSliceCustom
- type MsgSliceFloat32
- type MsgSliceFloat32Custom
- type MsgSliceFloat64
- type MsgSliceFloat64Custom
- type MsgSliceInt8
- type MsgSliceInt8Custom
- type MsgSliceUint8
- type MsgSliceUint8Custom
- type MsgSliceUint8Custom2
- type MsgString
- type MsgStringCustom
- type MsgStruct
- type MsgStructAnonymous
- type MsgUint8
- type MsgUint8Custom
- type MsgUint16
- type MsgUint16Custom
- type MsgUint32
- type MsgUint32Custom
- type MsgUint64
- type MsgUint64Custom
- type SubMsg
Constants ¶
const ( // IDMsgUint64 is the ID of MsgUint64 message. IDMsgUint64 uint64 = iota + 1 // IDMsgUint32 is the ID of MsgUint32 message. IDMsgUint32 // IDMsgUint16 is the ID of MsgUint16 message. IDMsgUint16 // IDMsgUint8 is the ID of MsgUint8 message. IDMsgUint8 // IDMsgInt64 is the ID of MsgInt64 message. IDMsgInt64 // IDMsgInt32 is the ID of MsgInt32 message. IDMsgInt32 // IDMsgInt16 is the ID of MsgInt16 message. IDMsgInt16 // IDMsgInt8 is the ID of MsgInt8 message. IDMsgInt8 // IDMsgBool3 is the ID of MsgBool3 message. IDMsgBool3 // IDMsgBool10 is the ID of MsgBool10 message. IDMsgBool10 // IDMsgFloat64 is the ID of MsgFloat64 message. IDMsgFloat64 // IDMsgFloat32 is the ID of MsgFloat32 message. IDMsgFloat32 // IDMsgString is the ID of MsgString message. IDMsgString // IDMsgArray is the ID of MsgArray message. IDMsgArray // IDMsgSlice is the ID of MsgSlice message. IDMsgSlice // IDMsgMap is the ID of MsgMap message. IDMsgMap // IDMsgMapString is the ID of MsgMapString message. IDMsgMapString // IDMsgStruct is the ID of MsgStruct message. IDMsgStruct // IDMsgStructAnonymous is the ID of MsgStructAnonymous message. IDMsgStructAnonymous // IDMsgArrayUint8 is the ID of MsgArrayUint8 message. IDMsgArrayUint8 // IDMsgArrayInt8 is the ID of MsgArrayInt8 message. IDMsgArrayInt8 // IDMsgArrayFloat32 is the ID of MsgArrayFloat32 message. IDMsgArrayFloat32 // IDMsgArrayFloat64 is the ID of MsgArrayFloat64 message. IDMsgArrayFloat64 // IDMsgSliceUint8 is the ID of MsgSliceUint8 message. IDMsgSliceUint8 // IDMsgSliceInt8 is the ID of MsgSliceInt8 message. IDMsgSliceInt8 // IDMsgSliceFloat32 is the ID of MsgSliceFloat32 message. IDMsgSliceFloat32 // IDMsgSliceFloat64 is the ID of MsgSliceFloat64 message. IDMsgSliceFloat64 // IDMsgMixed is the ID of MsgMixed message. IDMsgMixed // IDMsgUint64Custom is the ID of MsgUint64Custom message. IDMsgUint64Custom // IDMsgUint32Custom is the ID of MsgUint32Custom message. IDMsgUint32Custom // IDMsgUint16Custom is the ID of MsgUint16Custom message. IDMsgUint16Custom // IDMsgUint8Custom is the ID of MsgUint8Custom message. IDMsgUint8Custom // IDMsgInt64Custom is the ID of MsgInt64Custom message. IDMsgInt64Custom // IDMsgInt32Custom is the ID of MsgInt32Custom message. IDMsgInt32Custom // IDMsgInt16Custom is the ID of MsgInt16Custom message. IDMsgInt16Custom // IDMsgInt8Custom is the ID of MsgInt8Custom message. IDMsgInt8Custom // IDMsgBoolCustom is the ID of MsgBoolCustom message. IDMsgBoolCustom // IDMsgFloat64Custom is the ID of MsgFloat64Custom message. IDMsgFloat64Custom // IDMsgFloat32Custom is the ID of MsgFloat32Custom message. IDMsgFloat32Custom // IDMsgStringCustom is the ID of MsgStringCustom message. IDMsgStringCustom // IDMsgArrayCustom is the ID of MsgArrayCustom message. IDMsgArrayCustom // IDMsgSliceCustom is the ID of MsgSliceCustom message. IDMsgSliceCustom // IDMsgMapCustom is the ID of MsgMapCustom message. IDMsgMapCustom // IDMsgArrayUint8Custom is the ID of MsgArrayUint8Custom message. IDMsgArrayUint8Custom // IDMsgArrayUint8Custom2 is the ID of MsgArrayUint8Custom2 message. IDMsgArrayUint8Custom2 // IDMsgArrayInt8Custom is the ID of MsgArrayInt8Custom message. IDMsgArrayInt8Custom // IDMsgArrayFloat32Custom is the ID of MsgArrayFloat32Custom message. IDMsgArrayFloat32Custom // IDMsgArrayFloat64Custom is the ID of MsgArrayFloat64Custom message. IDMsgArrayFloat64Custom // IDMsgSliceUint8Custom is the ID of MsgSliceUint8Custom message. IDMsgSliceUint8Custom // IDMsgSliceUint8Custom2 is the ID of MsgSliceUint8Custom2 message. IDMsgSliceUint8Custom2 // IDMsgSliceInt8Custom is the ID of MsgSliceInt8Custom message. IDMsgSliceInt8Custom // IDMsgSliceFloat32Custom is the ID of MsgSliceFloat32Custom message. IDMsgSliceFloat32Custom // IDMsgSliceFloat64Custom is the ID of MsgSliceFloat64Custom message. IDMsgSliceFloat64Custom // IDMsgMixedCustom is the ID of MsgMixedCustom message. IDMsgMixedCustom )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Marshaller ¶ added in v0.7.5
type Marshaller struct {
// contains filtered or unexported fields
}
Marshaller marshals and unmarshals messages.
func NewMarshaller ¶ added in v0.7.5
func NewMarshaller(capacity uint64) Marshaller
NewMarshaller creates marshaller.
func (Marshaller) Marshal ¶ added in v0.7.5
func (m Marshaller) Marshal(msg proton.Marshallable, buf []byte) (retID, retSize uint64, retErr error)
Marshal marshals message.
type MsgArray ¶
type MsgArray struct {
Value [3]bool
}
MsgArray is used in tests.
type MsgArrayCustom ¶
MsgArrayCustom is used in tests.
func (*MsgArrayCustom) Marshal ¶ added in v0.7.5
func (m *MsgArrayCustom) Marshal(b []byte) uint64
Marshal marshals the structure.
func (*MsgArrayCustom) Size ¶ added in v0.7.5
func (m *MsgArrayCustom) Size() uint64
Size computes the required size of the buffer for marshaling the structure.
func (*MsgArrayCustom) Unmarshal ¶ added in v0.7.5
func (m *MsgArrayCustom) Unmarshal( b []byte, ) uint64
Unmarshal unmarshals the structure.
type MsgArrayFloat32 ¶
type MsgArrayFloat32 struct {
Value [5]float32
}
MsgArrayFloat32 is used in tests.
func (*MsgArrayFloat32) Marshal ¶ added in v0.7.5
func (m *MsgArrayFloat32) Marshal(b []byte) uint64
Marshal marshals the structure.
func (*MsgArrayFloat32) Size ¶ added in v0.7.5
func (m *MsgArrayFloat32) Size() uint64
Size computes the required size of the buffer for marshaling the structure.
func (*MsgArrayFloat32) Unmarshal ¶ added in v0.7.5
func (m *MsgArrayFloat32) Unmarshal( b []byte, ) uint64
Unmarshal unmarshals the structure.
type MsgArrayFloat32Custom ¶
type MsgArrayFloat32Custom struct {
Value custom.ArrayFloat32
}
MsgArrayFloat32Custom is used in tests.
func (*MsgArrayFloat32Custom) Marshal ¶ added in v0.7.5
func (m *MsgArrayFloat32Custom) Marshal(b []byte) uint64
Marshal marshals the structure.
func (*MsgArrayFloat32Custom) Size ¶ added in v0.7.5
func (m *MsgArrayFloat32Custom) Size() uint64
Size computes the required size of the buffer for marshaling the structure.
func (*MsgArrayFloat32Custom) Unmarshal ¶ added in v0.7.5
func (m *MsgArrayFloat32Custom) Unmarshal( b []byte, ) uint64
Unmarshal unmarshals the structure.
type MsgArrayFloat64 ¶
type MsgArrayFloat64 struct {
Value [5]float64
}
MsgArrayFloat64 is used in tests.
func (*MsgArrayFloat64) Marshal ¶ added in v0.7.5
func (m *MsgArrayFloat64) Marshal(b []byte) uint64
Marshal marshals the structure.
func (*MsgArrayFloat64) Size ¶ added in v0.7.5
func (m *MsgArrayFloat64) Size() uint64
Size computes the required size of the buffer for marshaling the structure.
func (*MsgArrayFloat64) Unmarshal ¶ added in v0.7.5
func (m *MsgArrayFloat64) Unmarshal( b []byte, ) uint64
Unmarshal unmarshals the structure.
type MsgArrayFloat64Custom ¶
type MsgArrayFloat64Custom struct {
Value custom.ArrayFloat64
}
MsgArrayFloat64Custom is used in tests.
func (*MsgArrayFloat64Custom) Marshal ¶ added in v0.7.5
func (m *MsgArrayFloat64Custom) Marshal(b []byte) uint64
Marshal marshals the structure.
func (*MsgArrayFloat64Custom) Size ¶ added in v0.7.5
func (m *MsgArrayFloat64Custom) Size() uint64
Size computes the required size of the buffer for marshaling the structure.
func (*MsgArrayFloat64Custom) Unmarshal ¶ added in v0.7.5
func (m *MsgArrayFloat64Custom) Unmarshal( b []byte, ) uint64
Unmarshal unmarshals the structure.
type MsgArrayInt8 ¶
type MsgArrayInt8 struct {
Value [5]int8
}
MsgArrayInt8 is used in tests.
func (*MsgArrayInt8) Marshal ¶ added in v0.7.5
func (m *MsgArrayInt8) Marshal(b []byte) uint64
Marshal marshals the structure.
func (*MsgArrayInt8) Size ¶ added in v0.7.5
func (m *MsgArrayInt8) Size() uint64
Size computes the required size of the buffer for marshaling the structure.
func (*MsgArrayInt8) Unmarshal ¶ added in v0.7.5
func (m *MsgArrayInt8) Unmarshal( b []byte, ) uint64
Unmarshal unmarshals the structure.
type MsgArrayInt8Custom ¶
MsgArrayInt8Custom is used in tests.
func (*MsgArrayInt8Custom) Marshal ¶ added in v0.7.5
func (m *MsgArrayInt8Custom) Marshal(b []byte) uint64
Marshal marshals the structure.
func (*MsgArrayInt8Custom) Size ¶ added in v0.7.5
func (m *MsgArrayInt8Custom) Size() uint64
Size computes the required size of the buffer for marshaling the structure.
func (*MsgArrayInt8Custom) Unmarshal ¶ added in v0.7.5
func (m *MsgArrayInt8Custom) Unmarshal( b []byte, ) uint64
Unmarshal unmarshals the structure.
type MsgArrayUint8 ¶
type MsgArrayUint8 struct {
Value [5]uint8
}
MsgArrayUint8 is used in tests.
func (*MsgArrayUint8) Marshal ¶ added in v0.7.5
func (m *MsgArrayUint8) Marshal(b []byte) uint64
Marshal marshals the structure.
func (*MsgArrayUint8) Size ¶ added in v0.7.5
func (m *MsgArrayUint8) Size() uint64
Size computes the required size of the buffer for marshaling the structure.
func (*MsgArrayUint8) Unmarshal ¶ added in v0.7.5
func (m *MsgArrayUint8) Unmarshal( b []byte, ) uint64
Unmarshal unmarshals the structure.
type MsgArrayUint8Custom ¶
type MsgArrayUint8Custom struct {
Value custom.ArrayUint8
}
MsgArrayUint8Custom is used in tests.
func (*MsgArrayUint8Custom) Marshal ¶ added in v0.7.5
func (m *MsgArrayUint8Custom) Marshal(b []byte) uint64
Marshal marshals the structure.
func (*MsgArrayUint8Custom) Size ¶ added in v0.7.5
func (m *MsgArrayUint8Custom) Size() uint64
Size computes the required size of the buffer for marshaling the structure.
func (*MsgArrayUint8Custom) Unmarshal ¶ added in v0.7.5
func (m *MsgArrayUint8Custom) Unmarshal( b []byte, ) uint64
Unmarshal unmarshals the structure.
type MsgArrayUint8Custom2 ¶
type MsgArrayUint8Custom2 struct {
Value custom.ArrayCustomUint8
}
MsgArrayUint8Custom2 is used in tests.
func (*MsgArrayUint8Custom2) Marshal ¶ added in v0.7.5
func (m *MsgArrayUint8Custom2) Marshal(b []byte) uint64
Marshal marshals the structure.
func (*MsgArrayUint8Custom2) Size ¶ added in v0.7.5
func (m *MsgArrayUint8Custom2) Size() uint64
Size computes the required size of the buffer for marshaling the structure.
func (*MsgArrayUint8Custom2) Unmarshal ¶ added in v0.7.5
func (m *MsgArrayUint8Custom2) Unmarshal( b []byte, ) uint64
Unmarshal unmarshals the structure.
type MsgBool3 ¶
MsgBool3 is used in tests.
type MsgBool10 ¶
type MsgBool10 struct {
Value1 bool
Value2 bool
Value3 bool
Value4 bool
Value5 bool
Value6 bool
Value7 bool
Value8 bool
Value9 bool
Value10 bool
}
MsgBool10 is used in tests.
type MsgBoolCustom ¶
MsgBoolCustom is used in tests.
func (*MsgBoolCustom) Marshal ¶ added in v0.7.5
func (m *MsgBoolCustom) Marshal(b []byte) uint64
Marshal marshals the structure.
func (*MsgBoolCustom) Size ¶ added in v0.7.5
func (m *MsgBoolCustom) Size() uint64
Size computes the required size of the buffer for marshaling the structure.
func (*MsgBoolCustom) Unmarshal ¶ added in v0.7.5
func (m *MsgBoolCustom) Unmarshal( b []byte, ) uint64
Unmarshal unmarshals the structure.
type MsgFloat32 ¶
type MsgFloat32 struct {
Value float32
}
MsgFloat32 is used in tests.
func (*MsgFloat32) Marshal ¶ added in v0.7.5
func (m *MsgFloat32) Marshal(b []byte) uint64
Marshal marshals the structure.
func (*MsgFloat32) Size ¶ added in v0.7.5
func (m *MsgFloat32) Size() uint64
Size computes the required size of the buffer for marshaling the structure.
func (*MsgFloat32) Unmarshal ¶ added in v0.7.5
func (m *MsgFloat32) Unmarshal( b []byte, ) uint64
Unmarshal unmarshals the structure.
type MsgFloat32Custom ¶
MsgFloat32Custom is used in tests.
func (*MsgFloat32Custom) Marshal ¶ added in v0.7.5
func (m *MsgFloat32Custom) Marshal(b []byte) uint64
Marshal marshals the structure.
func (*MsgFloat32Custom) Size ¶ added in v0.7.5
func (m *MsgFloat32Custom) Size() uint64
Size computes the required size of the buffer for marshaling the structure.
func (*MsgFloat32Custom) Unmarshal ¶ added in v0.7.5
func (m *MsgFloat32Custom) Unmarshal( b []byte, ) uint64
Unmarshal unmarshals the structure.
type MsgFloat64 ¶
type MsgFloat64 struct {
Value float64
}
MsgFloat64 is used in tests.
func (*MsgFloat64) Marshal ¶ added in v0.7.5
func (m *MsgFloat64) Marshal(b []byte) uint64
Marshal marshals the structure.
func (*MsgFloat64) Size ¶ added in v0.7.5
func (m *MsgFloat64) Size() uint64
Size computes the required size of the buffer for marshaling the structure.
func (*MsgFloat64) Unmarshal ¶ added in v0.7.5
func (m *MsgFloat64) Unmarshal( b []byte, ) uint64
Unmarshal unmarshals the structure.
type MsgFloat64Custom ¶
MsgFloat64Custom is used in tests.
func (*MsgFloat64Custom) Marshal ¶ added in v0.7.5
func (m *MsgFloat64Custom) Marshal(b []byte) uint64
Marshal marshals the structure.
func (*MsgFloat64Custom) Size ¶ added in v0.7.5
func (m *MsgFloat64Custom) Size() uint64
Size computes the required size of the buffer for marshaling the structure.
func (*MsgFloat64Custom) Unmarshal ¶ added in v0.7.5
func (m *MsgFloat64Custom) Unmarshal( b []byte, ) uint64
Unmarshal unmarshals the structure.
type MsgInt8 ¶
type MsgInt8 struct {
Value int8
}
MsgInt8 is used in tests.
type MsgInt8Custom ¶
MsgInt8Custom is used in tests.
func (*MsgInt8Custom) Marshal ¶ added in v0.7.5
func (m *MsgInt8Custom) Marshal(b []byte) uint64
Marshal marshals the structure.
func (*MsgInt8Custom) Size ¶ added in v0.7.5
func (m *MsgInt8Custom) Size() uint64
Size computes the required size of the buffer for marshaling the structure.
func (*MsgInt8Custom) Unmarshal ¶ added in v0.7.5
func (m *MsgInt8Custom) Unmarshal( b []byte, ) uint64
Unmarshal unmarshals the structure.
type MsgInt16 ¶
type MsgInt16 struct {
Value int16
}
MsgInt16 is used in tests.
type MsgInt16Custom ¶
MsgInt16Custom is used in tests.
func (*MsgInt16Custom) Marshal ¶ added in v0.7.5
func (m *MsgInt16Custom) Marshal(b []byte) uint64
Marshal marshals the structure.
func (*MsgInt16Custom) Size ¶ added in v0.7.5
func (m *MsgInt16Custom) Size() uint64
Size computes the required size of the buffer for marshaling the structure.
func (*MsgInt16Custom) Unmarshal ¶ added in v0.7.5
func (m *MsgInt16Custom) Unmarshal( b []byte, ) uint64
Unmarshal unmarshals the structure.
type MsgInt32 ¶
type MsgInt32 struct {
Value int32
}
MsgInt32 is used in tests.
type MsgInt32Custom ¶
MsgInt32Custom is used in tests.
func (*MsgInt32Custom) Marshal ¶ added in v0.7.5
func (m *MsgInt32Custom) Marshal(b []byte) uint64
Marshal marshals the structure.
func (*MsgInt32Custom) Size ¶ added in v0.7.5
func (m *MsgInt32Custom) Size() uint64
Size computes the required size of the buffer for marshaling the structure.
func (*MsgInt32Custom) Unmarshal ¶ added in v0.7.5
func (m *MsgInt32Custom) Unmarshal( b []byte, ) uint64
Unmarshal unmarshals the structure.
type MsgInt64 ¶
type MsgInt64 struct {
Value int64
}
MsgInt64 is used in tests.
type MsgInt64Custom ¶
MsgInt64Custom is used in tests.
func (*MsgInt64Custom) Marshal ¶ added in v0.7.5
func (m *MsgInt64Custom) Marshal(b []byte) uint64
Marshal marshals the structure.
func (*MsgInt64Custom) Size ¶ added in v0.7.5
func (m *MsgInt64Custom) Size() uint64
Size computes the required size of the buffer for marshaling the structure.
func (*MsgInt64Custom) Unmarshal ¶ added in v0.7.5
func (m *MsgInt64Custom) Unmarshal( b []byte, ) uint64
Unmarshal unmarshals the structure.
type MsgMap ¶
MsgMap is used in tests.
type MsgMapCustom ¶
MsgMapCustom is used in tests.
func (*MsgMapCustom) Marshal ¶ added in v0.7.5
func (m *MsgMapCustom) Marshal(b []byte) uint64
Marshal marshals the structure.
func (*MsgMapCustom) Size ¶ added in v0.7.5
func (m *MsgMapCustom) Size() uint64
Size computes the required size of the buffer for marshaling the structure.
func (*MsgMapCustom) Unmarshal ¶ added in v0.7.5
func (m *MsgMapCustom) Unmarshal( b []byte, ) uint64
Unmarshal unmarshals the structure.
type MsgMapString ¶ added in v0.2.1
MsgMapString is used in tests.
func (*MsgMapString) Marshal ¶ added in v0.7.5
func (m *MsgMapString) Marshal(b []byte) uint64
Marshal marshals the structure.
func (*MsgMapString) Size ¶ added in v0.7.5
func (m *MsgMapString) Size() uint64
Size computes the required size of the buffer for marshaling the structure.
func (*MsgMapString) Unmarshal ¶ added in v0.7.5
func (m *MsgMapString) Unmarshal( b []byte, ) uint64
Unmarshal unmarshals the structure.
type MsgMixed ¶
type MsgMixed struct {
Value1 map[string]spkg1.SubMsg
Value2 map[uint8][]string
Value3 [][32]uint16
Value4 [12]map[int8]float32
Value5 [][3][]map[int16][2]int64
Value6 bool
Value7 bool
Value8 string
}
MsgMixed is used in tests.
func (*MsgMixed) Size ¶ added in v0.7.5
Size computes the required size of the buffer for marshaling the structure.
func (*MsgMixed) Unmarshal ¶ added in v0.7.5
func (m *MsgMixed) Unmarshal( b []byte, massString *mass.Mass[string], massA32BUint16 *mass.Mass[[32]uint16], massA3BABMapAInt16BA2BInt64 *mass.Mass[[3][]map[int16][2]int64], massMapAInt16BA2BInt64 *mass.Mass[map[int16][2]int64], ) uint64
Unmarshal unmarshals the structure.
type MsgMixedCustom ¶
MsgMixedCustom is used in tests.
func (*MsgMixedCustom) Marshal ¶ added in v0.7.5
func (m *MsgMixedCustom) Marshal(b []byte) uint64
Marshal marshals the structure.
func (*MsgMixedCustom) Size ¶ added in v0.7.5
func (m *MsgMixedCustom) Size() uint64
Size computes the required size of the buffer for marshaling the structure.
type MsgSlice ¶
type MsgSlice struct {
Value []bool
}
MsgSlice is used in tests.
type MsgSliceCustom ¶
MsgSliceCustom is used in tests.
func (*MsgSliceCustom) Marshal ¶ added in v0.7.5
func (m *MsgSliceCustom) Marshal(b []byte) uint64
Marshal marshals the structure.
func (*MsgSliceCustom) Size ¶ added in v0.7.5
func (m *MsgSliceCustom) Size() uint64
Size computes the required size of the buffer for marshaling the structure.
type MsgSliceFloat32 ¶
type MsgSliceFloat32 struct {
Value []float32
}
MsgSliceFloat32 is used in tests.
func (*MsgSliceFloat32) Marshal ¶ added in v0.7.5
func (m *MsgSliceFloat32) Marshal(b []byte) uint64
Marshal marshals the structure.
func (*MsgSliceFloat32) Size ¶ added in v0.7.5
func (m *MsgSliceFloat32) Size() uint64
Size computes the required size of the buffer for marshaling the structure.
type MsgSliceFloat32Custom ¶
type MsgSliceFloat32Custom struct {
Value custom.SliceFloat32
}
MsgSliceFloat32Custom is used in tests.
func (*MsgSliceFloat32Custom) Marshal ¶ added in v0.7.5
func (m *MsgSliceFloat32Custom) Marshal(b []byte) uint64
Marshal marshals the structure.
func (*MsgSliceFloat32Custom) Size ¶ added in v0.7.5
func (m *MsgSliceFloat32Custom) Size() uint64
Size computes the required size of the buffer for marshaling the structure.
type MsgSliceFloat64 ¶
type MsgSliceFloat64 struct {
Value []float64
}
MsgSliceFloat64 is used in tests.
func (*MsgSliceFloat64) Marshal ¶ added in v0.7.5
func (m *MsgSliceFloat64) Marshal(b []byte) uint64
Marshal marshals the structure.
func (*MsgSliceFloat64) Size ¶ added in v0.7.5
func (m *MsgSliceFloat64) Size() uint64
Size computes the required size of the buffer for marshaling the structure.
type MsgSliceFloat64Custom ¶
type MsgSliceFloat64Custom struct {
Value custom.SliceFloat64
}
MsgSliceFloat64Custom is used in tests.
func (*MsgSliceFloat64Custom) Marshal ¶ added in v0.7.5
func (m *MsgSliceFloat64Custom) Marshal(b []byte) uint64
Marshal marshals the structure.
func (*MsgSliceFloat64Custom) Size ¶ added in v0.7.5
func (m *MsgSliceFloat64Custom) Size() uint64
Size computes the required size of the buffer for marshaling the structure.
type MsgSliceInt8 ¶
type MsgSliceInt8 struct {
Value []int8
}
MsgSliceInt8 is used in tests.
func (*MsgSliceInt8) Marshal ¶ added in v0.7.5
func (m *MsgSliceInt8) Marshal(b []byte) uint64
Marshal marshals the structure.
func (*MsgSliceInt8) Size ¶ added in v0.7.5
func (m *MsgSliceInt8) Size() uint64
Size computes the required size of the buffer for marshaling the structure.
type MsgSliceInt8Custom ¶
MsgSliceInt8Custom is used in tests.
func (*MsgSliceInt8Custom) Marshal ¶ added in v0.7.5
func (m *MsgSliceInt8Custom) Marshal(b []byte) uint64
Marshal marshals the structure.
func (*MsgSliceInt8Custom) Size ¶ added in v0.7.5
func (m *MsgSliceInt8Custom) Size() uint64
Size computes the required size of the buffer for marshaling the structure.
type MsgSliceUint8 ¶
type MsgSliceUint8 struct {
Value []uint8
}
MsgSliceUint8 is used in tests.
func (*MsgSliceUint8) Marshal ¶ added in v0.7.5
func (m *MsgSliceUint8) Marshal(b []byte) uint64
Marshal marshals the structure.
func (*MsgSliceUint8) Size ¶ added in v0.7.5
func (m *MsgSliceUint8) Size() uint64
Size computes the required size of the buffer for marshaling the structure.
func (*MsgSliceUint8) Unmarshal ¶ added in v0.7.5
func (m *MsgSliceUint8) Unmarshal( b []byte, ) uint64
Unmarshal unmarshals the structure.
type MsgSliceUint8Custom ¶
type MsgSliceUint8Custom struct {
Value custom.SliceUint8
}
MsgSliceUint8Custom is used in tests.
func (*MsgSliceUint8Custom) Marshal ¶ added in v0.7.5
func (m *MsgSliceUint8Custom) Marshal(b []byte) uint64
Marshal marshals the structure.
func (*MsgSliceUint8Custom) Size ¶ added in v0.7.5
func (m *MsgSliceUint8Custom) Size() uint64
Size computes the required size of the buffer for marshaling the structure.
func (*MsgSliceUint8Custom) Unmarshal ¶ added in v0.7.5
func (m *MsgSliceUint8Custom) Unmarshal( b []byte, ) uint64
Unmarshal unmarshals the structure.
type MsgSliceUint8Custom2 ¶
type MsgSliceUint8Custom2 struct {
Value custom.SliceCustomUint8
}
MsgSliceUint8Custom2 is used in tests.
func (*MsgSliceUint8Custom2) Marshal ¶ added in v0.7.5
func (m *MsgSliceUint8Custom2) Marshal(b []byte) uint64
Marshal marshals the structure.
func (*MsgSliceUint8Custom2) Size ¶ added in v0.7.5
func (m *MsgSliceUint8Custom2) Size() uint64
Size computes the required size of the buffer for marshaling the structure.
type MsgString ¶
type MsgString struct {
Value string
}
MsgString is used in tests.
type MsgStringCustom ¶
MsgStringCustom is used in tests.
func (*MsgStringCustom) Marshal ¶ added in v0.7.5
func (m *MsgStringCustom) Marshal(b []byte) uint64
Marshal marshals the structure.
func (*MsgStringCustom) Size ¶ added in v0.7.5
func (m *MsgStringCustom) Size() uint64
Size computes the required size of the buffer for marshaling the structure.
func (*MsgStringCustom) Unmarshal ¶ added in v0.7.5
func (m *MsgStringCustom) Unmarshal( b []byte, ) uint64
Unmarshal unmarshals the structure.
type MsgStruct ¶
MsgStruct is used in tests.
type MsgStructAnonymous ¶
MsgStructAnonymous is used in tests.
func (*MsgStructAnonymous) Marshal ¶ added in v0.7.5
func (m *MsgStructAnonymous) Marshal(b []byte) uint64
Marshal marshals the structure.
func (*MsgStructAnonymous) Size ¶ added in v0.7.5
func (m *MsgStructAnonymous) Size() uint64
Size computes the required size of the buffer for marshaling the structure.
type MsgUint8 ¶
type MsgUint8 struct {
Value uint8
}
MsgUint8 is used in tests.
type MsgUint8Custom ¶
MsgUint8Custom is used in tests.
func (*MsgUint8Custom) Marshal ¶ added in v0.7.5
func (m *MsgUint8Custom) Marshal(b []byte) uint64
Marshal marshals the structure.
func (*MsgUint8Custom) Size ¶ added in v0.7.5
func (m *MsgUint8Custom) Size() uint64
Size computes the required size of the buffer for marshaling the structure.
func (*MsgUint8Custom) Unmarshal ¶ added in v0.7.5
func (m *MsgUint8Custom) Unmarshal( b []byte, ) uint64
Unmarshal unmarshals the structure.
type MsgUint16 ¶
type MsgUint16 struct {
Value uint16
}
MsgUint16 is used in tests.
type MsgUint16Custom ¶
MsgUint16Custom is used in tests.
func (*MsgUint16Custom) Marshal ¶ added in v0.7.5
func (m *MsgUint16Custom) Marshal(b []byte) uint64
Marshal marshals the structure.
func (*MsgUint16Custom) Size ¶ added in v0.7.5
func (m *MsgUint16Custom) Size() uint64
Size computes the required size of the buffer for marshaling the structure.
func (*MsgUint16Custom) Unmarshal ¶ added in v0.7.5
func (m *MsgUint16Custom) Unmarshal( b []byte, ) uint64
Unmarshal unmarshals the structure.
type MsgUint32 ¶
type MsgUint32 struct {
Value uint32
}
MsgUint32 is used in tests.
type MsgUint32Custom ¶
MsgUint32Custom is used in tests.
func (*MsgUint32Custom) Marshal ¶ added in v0.7.5
func (m *MsgUint32Custom) Marshal(b []byte) uint64
Marshal marshals the structure.
func (*MsgUint32Custom) Size ¶ added in v0.7.5
func (m *MsgUint32Custom) Size() uint64
Size computes the required size of the buffer for marshaling the structure.
func (*MsgUint32Custom) Unmarshal ¶ added in v0.7.5
func (m *MsgUint32Custom) Unmarshal( b []byte, ) uint64
Unmarshal unmarshals the structure.
type MsgUint64 ¶
type MsgUint64 struct {
Value uint64
}
MsgUint64 is used in tests.
type MsgUint64Custom ¶
MsgUint64Custom is used in tests.
func (*MsgUint64Custom) Marshal ¶ added in v0.7.5
func (m *MsgUint64Custom) Marshal(b []byte) uint64
Marshal marshals the structure.
func (*MsgUint64Custom) Size ¶ added in v0.7.5
func (m *MsgUint64Custom) Size() uint64
Size computes the required size of the buffer for marshaling the structure.
func (*MsgUint64Custom) Unmarshal ¶ added in v0.7.5
func (m *MsgUint64Custom) Unmarshal( b []byte, ) uint64
Unmarshal unmarshals the structure.