new Compressed()
- Source:
Members
-
algorithm :compression
-
Compression algorithm
Type:
- compression
- Source:
-
compressed :String
-
Compressed packet data
Type:
- String
- Source:
-
packets :module:packet/packetlist
-
List of packets
Type:
- Source:
-
tag :module:enums.packet
-
Packet type
Type:
- Source:
Methods
-
compress()
-
Compress the packet data (member decompressedData)
- Source:
-
decompress()
-
Decompression method for decompressing the compressed data read by read_packet
- Source:
-
read(bytes)
-
Parsing function for the packet.
Parameters:
Name Type Description bytes
String Payload of a tag 8 packet - Source:
-
write() → {String}
-
Return the compressed packet.
- Source:
Returns:
binary compressed packet- Type
- String