@uwdata/flechette
Version:
Fast, lightweight access to Apache Arrow data.
8 lines (7 loc) • 380 B
TypeScript
/**
* Decode custom metadata consisting of key-value string pairs.
* @param {Uint8Array} buf A byte buffer of binary Arrow IPC data
* @param {number} index The starting index in the byte buffer
* @returns {import('../types.js').Metadata | null} The custom metadata map
*/
export function decodeMetadata(buf: Uint8Array, index: number): import("../types.js").Metadata | null;