CoAgent8 - Source API
    Preparing search index...

    Function readBoundedFileSync

    • Synchronously reads a file up to limit bytes. Throws BufferLimitError if the file size or read content exceeds limit.

      Parameters

      • file: string
      • limit: number = ...

      Returns string