NDNts

    ndn6-file-server client.

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    prefix: Name

    Methods

    • Retrieve part of a file into a buffer.

      Parameters

      • m: FileMetadata

        Metadata of a file.

      • buffer: Uint8Array

        The buffer that file contents will be written into.

      • offset: number

        The offset within the buffer where writing will start.

      • length: number

        The number of bytes to retrieve.

      • position: number

        Where to begin reading from the file.

      Returns Promise<void>

    MMNEPVFCICPMFPCPTTAAATR