-
<inner> compress
-
Compress the packet data (member decompressedData)
Parameters:
Name |
Type |
Description |
type |
integer
|
algorithm to be used // See RFC 4880 9.3 |
data |
String
|
data to be compressed |
- Source:
Returns:
The compressed data stored in attribute compressedData
-
Type
-
String
-
<inner> decompress
-
decompression method for decompressing the compressed data
read by read_packet
- Source:
Returns:
the decompressed data
-
Type
-
String
-
<inner> read_packet
-
parsing function for the packet.
Parameters:
Name |
Type |
Description |
input |
string
|
payload of a tag 8 packet |
position |
integer
|
position to start reading from the input string |
len |
integer
|
length of the packet or the remaining length of input at position |
- Source:
Returns:
object representation
-
Type
-
openpgp_packet_compressed
-
<inner> toString
-
pretty printing the packet (useful for debug purposes)
- Source:
Returns:
-
Type
-
String
-
<inner> write_packet
-
creates a string representation of the packet
Parameters:
Name |
Type |
Description |
algorithm |
integer
|
algorithm to be used // See RFC 4880 9.3 |
data |
String
|
data to be compressed |
- Source:
Returns:
string-representation of the packet
-
Type
-
String