In-memory buffer used for reading and writing MCAP files in tests. Can be used as both an IReadable and an IWritable.

Hierarchy

  • TempBuffer

Implements

Constructors

Properties

#buffer: ArrayBuffer = ...
#position: number = 0

Methods

  • Parameters

    • capacity: number

    Returns void

  • Parameters

    • offset: bigint
    • size: bigint

    Returns Promise<Uint8Array>

  • Move the cursor to the given position

    Parameters

    • position: bigint

    Returns Promise<void>

Generated using TypeDoc