@uwdata/flechette
Version:
Fast, lightweight access to Apache Arrow data.
9 lines (8 loc) • 381 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 {Metadata | null} The custom metadata map
*/
export function decodeMetadata(buf: Uint8Array, index: number): Metadata | null;
import type { Metadata } from '../types.js';