Optional ReadonlybufferBuffer size for streaming reads (default: runtime-optimized)
Optional ReadonlyencodingText encoding for file content (default: 'utf8')
Optional ReadonlymaxMaximum file size to prevent memory exhaustion (default: 100MB)
Optional ReadonlytimeoutRead timeout in milliseconds (default: 30000)
Optional ReadonlyconcurrentAllow concurrent reads from same file (default: false)
Optional ReadonlysignalAbortController signal for cancelling operations
Optional ReadonlyautoWhether to automatically detect and decompress compressed files (default: true)
Optional ReadonlycompressionOverride compression format detection (default: auto-detect)
Optional ReadonlydecompressionOptions for decompression when auto-decompression is enabled
File reading configuration options with sensible defaults Provides control over streaming behavior and safety limits