Module: packet/marker

packet/marker

Implementation of the strange "Marker packet" (Tag 10)

RFC4880 5.8: An experimental version of PGP used this packet as the Literal packet, but no released version of PGP generated Literal packets with this tag. With PGP 5.x, this packet has been reassigned and is reserved for use as the Marker packet.

Such a packet MUST be ignored when received.

new (require("packet/marker"))()

Source:
Source:

Methods

read(input, position, len) → {module:packet/marker}

Parsing function for a literal data packet (tag 10).
Parameters:
Name Type Description
input String Payload of a tag 10 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
module:packet/marker