UNPKG

@uwdata/flechette

Version:

Fast, lightweight access to Apache Arrow data.

10 lines (9 loc) 527 B
/** * Decode a data type definition for a field. * @param {Uint8Array} buf A byte buffer of binary Arrow IPC data. * @param {number} index The starting index in the byte buffer. * @param {number} typeId The data type id. * @param {import('../types.js').Field[]} [children] A list of parsed child fields. * @returns {import('../types.js').DataType} The data type. */ export function decodeDataType(buf: Uint8Array, index: number, typeId: number, children?: import("../types.js").Field[]): import("../types.js").DataType;