@zip.js/zip.js
    Preparing search index...

    Class TextWriter

    Represents a Writer instance used to retrieve the written data as a string.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    writable: WritableStream

    The WritableStream instance.

    Methods

    • Retrieves all the written data

      Returns Promise<string>

      A promise resolving to the written data.

    • Initializes the instance asynchronously

      Parameters

      • Optionalsize: number

        the total size of the written data in bytes.

      Returns Promise<void>

    • Appends a chunk of data

      Parameters

      • array: Uint8Array<ArrayBuffer>

        The chunk data to append.

      Returns Promise<void>