TronProtocolBufferImpl class abstract

Abstract class providing a common implementation for encoding Tron models using minimal protobuf encoding.

Implementers

Constructors

TronProtocolBufferImpl()

Properties

fieldIds List<int>
List of field IDs corresponding to the values.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
toHex String
Gets the hexadecimal representation of the protocol buffer data.
no setter
values List
List of dynamic values to be encoded.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toBuffer() List<int>
Converts the protocol buffer data to a byte buffer.
toJson() Map<String, dynamic>
Converts the data to a JSON representation.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

decode(List<int> bytes) List<ProtocolBufferDecoderResult>