GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • RFC4880 5.6
  • Home
  • armor
  • config
  • enums
  • AEADEncryptedDataPacket
  • CleartextMessage
  • CompressedDataPacket
  • Key
  • LiteralDataPacket
  • MarkerPacket
  • Message
  • OnePassSignaturePacket
  • PacketList

This view

  • Original page
  • New address

GeezerVison is showing docs.openpgpjs.org — JSDoc: Class: CompressedDataPacket

Constructor

new CompressedDataPacket(configopt)

Parameters:
Name Type Attributes Description
config Object <optional>

Full configuration, defaults to openpgp.config

Source:
  • packet/compressed_data.js, line 47

Members

algorithm :enums.compression

Compression algorithm

Type:
  • enums.compression
Source:
  • packet/compressed_data.js, line 65

compressed :Uint8Array|ReadableStream.<Uint8Array>

Compressed packet data

Type:
  • Uint8Array | ReadableStream.<Uint8Array>
Source:
  • packet/compressed_data.js, line 71

packets :PacketList

List of packets

Type:
  • PacketList
Source:
  • packet/compressed_data.js, line 60

Methods

compress()

Compress the packet data (member decompressedData)

Source:
  • packet/compressed_data.js, line 139

(async) decompress(configopt)

Decompression method for decompressing the compressed data read by read_packet

Parameters:
Name Type Attributes Description
config Object <optional>

Full configuration, defaults to openpgp.config

Source:
  • packet/compressed_data.js, line 111

(async) read(bytes, configopt)

Parsing function for the packet.

Parameters:
Name Type Attributes Description
bytes Uint8Array | ReadableStream.<Uint8Array>

Payload of a tag 8 packet

config Object <optional>

Full configuration, defaults to openpgp.config

Source:
  • packet/compressed_data.js, line 79

write() → {Uint8Array|ReadableStream.<Uint8Array>}

Return the compressed packet.

Source:
  • packet/compressed_data.js, line 97
Returns:

Binary compressed packet.

Type
Uint8Array | ReadableStream.<Uint8Array>
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.