Encoder class

Constructors

Encoder()

Properties

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

Methods

encode(dynamic obj) → dynamic
Encode a packet as a single string if non-binary, or as a buffer sequence, depending on packet type.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

encodeAsBinary(dynamic obj) → dynamic
Encode packet as 'buffer sequence' by removing blobs, and deconstructing packet into object with placeholders and a list of buffers.
encodeAsString(dynamic obj) String
Encode packet as string.