Data packet.

Hierarchy

  • PublicFields
    • Data

Implements

Constructors

Properties

[FIELDS]: Fields
content: Uint8Array = ...
contentType: number
finalBlockId?: Component
freshnessPeriod: number
isFinalBlock: boolean
name: Name = ...
sigInfo: SigInfo = ...
sigValue: Uint8Array = ...

Methods

  • Determine if this Data can satisfy an Interest.

    Parameters

    Returns Promise<boolean>

    Promise that resolves with the result.

  • Compute the implicit digest.

    Returns Promise<Uint8Array>

  • Return the full name if the implicit digest is already computed.

    Returns undefined | Name

  • Return the implicit digest if it's already computed.

    Returns undefined | Uint8Array