PacketParser3 class
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
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
Static Methods
-
decodeBase64Packet(String msg, String binaryType)
→ dynamic
-
-
decodePacket(dynamic encodedPacket, dynamic binaryType, bool utf8decode)
→ dynamic
-
-
decodePayload(dynamic encodedPayload, dynamic binaryType)
→ dynamic
-
-
decodePayloadAsBinary(List<int> data, {bool? binaryType})
→ dynamic
-
-
encodeBase64Packet(dynamic packet, dynamic callback)
→ dynamic
-
Encodes a packet with binary data in a base64 string
-
encodeBuffer(dynamic packet, dynamic supportsBinary, dynamic callback, {dynamic fromClient = false})
→ dynamic
-
Encode Buffer data
-
encodeOneBinaryPacket(dynamic p, dynamic doneCallback(dynamic _))
→ dynamic
-
-
encodePacket(Map packet, {dynamic supportsBinary, dynamic utf8encode = false, required dynamic callback(dynamic _), bool fromClient = false})
→ String?
-
-
encodePayload(List packets, {bool supportsBinary = false, required dynamic callback(dynamic _)})
→ dynamic
-
-
encodePayloadAsBinary(List packets, dynamic callback(dynamic _))
→ dynamic
-
-
hasBinary(List packets)
→ dynamic
-
-
map(List ary, dynamic each(dynamic _, dynamic callback(dynamic msg)), dynamic done(dynamic results))
→ dynamic
-
Async array map using after
-
stringToBuffer(String string)
→ List<int>
-