Library API
    Preparing search index...

    Function serverReadBuffer

    • Reads a binary file as a Buffer from the server storage.

      Parameters

      • filePath: string

        Relative path inside the sandboxed root

      • OptionalrootDir: string

        Optional root directory override

      Returns Promise<Buffer<ArrayBufferLike> | null>

      Buffer containing file bytes, or null if not found