Crypto MCP
    Preparing search index...

    Function readAtMost

    • Read at most max bytes through handle. One byte past the limit is requested so that a file which grew after the size check (a race the stat checks cannot close) is refused instead of read whole; the partial read is zeroed before refusing.

      Parameters

      • handle: Pick<fs.promises.FileHandle, "read">
      • max: number

      Returns Promise<Buffer<ArrayBufferLike>>