AsyncBuffer
Defined in: packages/core/src/formats/lib/cloud-reader.ts:81
A file’s bytes, read a range at a time: what the facts readers
(parquetFacts, headerFacts; large data round 2 U6) take. The shape of
hyparquet’s AsyncBuffer, so either is the other: a file handle in the
CLI, a range reader over HTTP, or bytes in memory.
Properties
Section titled “Properties”| Property | Type | Description | Defined in |
|---|---|---|---|
byteLength | number | The file’s size in bytes. | packages/core/src/formats/lib/cloud-reader.ts:83 |
Methods
Section titled “Methods”slice()
Section titled “slice()”slice(
start,end?):ArrayBuffer|Promise<ArrayBuffer>
Defined in: packages/core/src/formats/lib/cloud-reader.ts:85
The bytes [start, end) (end defaults to the file’s end).
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
start | number |
end? | number |
Returns
Section titled “Returns”ArrayBuffer | Promise<ArrayBuffer>