NDNLPv2 packet.
Optional
L3 payload.
This field may contain either a whole L3 packet or fragment of one. This is also known as fragment in other libraries.
Extract L3 fields only.
They may be copied to another LpPacket via Object.assign().
Object.assign()
Encode L3 headers.
LpL3
Prepend LpPacket to encoder.
Error Thrown if fragmentation headers violate invariants:
.fragIndex >= .fragCount
.fragSeqNum
.fragCount > 1
Determine whether any L3 header is present.
Static
NDNLPv2 packet.