PacketConverter class

Constructors

PacketConverter()

Properties

buffer ↔ List<int>?
getter/setter pair
bytesToRead ↔ int
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
headerMode ↔ bool
getter/setter pair
isClear → bool
no setter
lengthBuffer → BsonBinary
final
maxDocSize → int
final
messageBuffer ↔ List<int>?
getter/setter pair
messages → ListQueue<List<int>>
final
messagesConverted ↔ int
getter/setter pair
packets → ListQueue<List<int>>
final
readPos ↔ int
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

addPacket(List<int> packet) → void
bytesAvailable() → int
Length of all packets with current read position on first packet subtracted
handleBody() → void
handleHeader() → void
handleHeaderAndBody() → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
readIntoBuffer(List<int> buffer, int pos) → void
toString() → String
A string representation of this object.
override

Operators

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