@uwdata/flechette
Version:
Fast, lightweight access to Apache Arrow data.
9 lines (8 loc) • 464 B
TypeScript
/**
* Decode a table schema describing the fields and their data types.
* @param {Uint8Array} buf A byte buffer of binary Arrow IPC data
* @param {number} index The starting index in the byte buffer
* @param {import('../types.js').Version_} version Arrow version value
* @returns {import('../types.js').Schema} The schema
*/
export function decodeSchema(buf: Uint8Array, index: number, version: import("../types.js").Version_): import("../types.js").Schema;