LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
LangSmith
  • Client
  • Run Trees
  • Traceable
  • Evaluation
  • Schemas
  • Langchain
  • Jest
  • Vitest
  • Wrappers
  • Anonymizer
  • Jestlike
  • Vercel
  • Anthropic
  • Sandbox
⌘I

LangChain Assistant

Ask a question to get started

Enter to send•Shift+Enter new line

Menu

LangSmith
ClientRun TreesTraceableEvaluationSchemasLangchainJestVitestWrappersAnonymizerJestlikeVercelAnthropicSandbox
Language
Theme
JavaScriptlangsmithsandboxReadRangeOptions
Interface●Since v0.13

ReadRangeOptions

Options for a ranged read. Provide start (with optional end), or suffixBytes.

Copy
interface ReadRangeOptions

Properties

property
end: number

Last byte to return, inclusive. Clamped to EOF rather than rejected.

property
headers: Record<string, string>
property
ifNoneMatch: string

An ETag the caller already holds. An unchanged file answers with unchanged: true and no bytes.

property
ifRange: string

An ETag from an earlier chunk. The range is honored only while the file still matches it.

property
start: number

First byte to return. With end, an inclusive range.

property
suffixBytes: number

Return the last N bytes. Mutually exclusive with start/end.

property
timeout: number

Request timeout in seconds.

View source on GitHub