@uwdata/flechette
Version:
Fast, lightweight access to Apache Arrow data.
11 lines (10 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 {Version_} version Arrow version value
* @returns {Schema} The schema
*/
export function decodeSchema(buf: Uint8Array, index: number, version: Version_): Schema;
import type { Version_ } from '../types.js';
import type { Schema } from '../types.js';