Transformer for converting raw bytes into Packet objects. Handles the low-level parsing of network traffic, or any other byte stream for that matter, stores them in a buffer and encapsulates them in Packet objects which the Connection then re-casts and injects into the appropriate steam - for instance event stream.
Can also be used standalone for parsing, for instance, packet dumps.
- Implements
-
- StreamTransformer<List<int>, Packet>
Constructors
Properties
- bodyBuffer → List<int>
-
read / write
- hashCode → int
-
Get a hash code for this object.…
read-only, inherited - headerBuffer → List<int>
-
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Operators
-
operator ==(
other) → bool -
The equality operator.…
inherited