Pixen JavaScript API
    Preparing search index...

    Interface Data

    A container for binary data.

    interface Data {
        writeToFile(path: string): boolean;
        length: number;
    }
    Index
    length: number

    The data length in bytes.

    • Writes the data atomically to disk.

      Parameters

      • path: string

        Absolute or tilde-relative destination path.

      Returns boolean

      Whether the file was written successfully.