TProtocol class abstract

Constructors

TProtocol(TTransport trans_)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
trans_ TTransport
final

Methods

ensureContainerHasEnough(int size, int type) → void
ensureHasEnoughBytes(int minimumExpected) → void
ensureMapHasEnough(int size, int keyType, int valueType) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
readBinary() Int8List
readBool() bool
readByte() int
readDouble() double
readFieldBegin() TField
readFieldEnd() → void
readI16() int
readI32() int
readI64() int
readListBegin() TList
readListEnd() → void
readMapBegin() TMap
readMapEnd() → void
readMessageBegin() TMessage
Read
readMessageEnd() → void
readSetBegin() TSet
readSetEnd() → void
readString() String
readStructBegin() TStruct
readStructEnd() → void
toString() String
A string representation of this object.
inherited
typeMinimumSize(int type) int
writeBinary(Int8List? bytes) → void
writeBool(bool? b) → void
writeByte(int b) → void
writeDouble(double? d) → void
writeFieldBegin(TField field) → void
writeFieldEnd() → void
writeFieldStop() → void
writeI16(int? i16) → void
writeI32(int? i32) → void
writeI64(int? i64) → void
writeListBegin(TList list) → void
writeListEnd() → void
writeMapBegin(TMap map) → void
writeMapEnd() → void
writeMessageBegin(TMessage message) → void
Write
writeMessageEnd() → void
writeSetBegin(TSet set) → void
writeSetEnd() → void
writeString(String? str) → void
writeStructBegin(TStruct struct) → void
writeStructEnd() → void

Operators

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