Selva Compute API Reference - v2.1.0
    Preparing search index...
    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    fileName: string

    the fully-qualified filename of the embedded file. This filename may or may not refer to a local file depending on the way the embedded file was loaded. For example, if it was loaded from an archive, the filename could be that of a file on a different computer.

    length: number

    Methods

    • ...

      Returns boolean

    • Saves the contents of the embedded file to a local file.

      Parameters

      • path: string

      Returns boolean

      Returns true if successful, else false.

    • Creates an EmbeddedFile from a string buffer

      Parameters

      • buffer: string

        a Uint8Array

      Returns EmbeddedFile