Class BufferWriter

Buffer writer is used on smaller datasets that are easy to write in memory. Faster then the Filesystem

Methods

  • Parameters

    • data: Uint8Array

      the data to append

    Returns Promise<void>

  • Parameters

    • data: Uint8Array

      the data to append

    Returns void

  • Returns Uint8Array

    • the buffer
  • Parameters

    • data: Uint8Array

      the data to write

    • offset: number

      where in the buffer to start

    Returns Promise<void>