Class: ProtobufBinaryPayloadConverter
Converts between protobufjs Message instances and serialized Protobuf Payload
Extends
ProtobufPayloadConverter
Constructors
Constructor
new ProtobufBinaryPayloadConverter(
root?):ProtobufBinaryPayloadConverter
Parameters
root?
unknown
The value returned from patchProtobufRoot
Returns
ProtobufBinaryPayloadConverter
Overrides
ProtobufPayloadConverter.constructor
Properties
encodingType
encodingType:
"binary/protobuf"
Overrides
ProtobufPayloadConverter.encodingType
Methods
fromPayload()
fromPayload<
T>(content):T
Type Parameters
T
T
Parameters
content
Returns
T
Overrides
ProtobufPayloadConverter.fromPayload
toPayload()
toPayload(
value):IPayload|undefined
Parameters
value
unknown
Returns
IPayload | undefined
Overrides
ProtobufPayloadConverter.toPayload