@uwdata/flechette
Version:
Fast, lightweight access to Apache Arrow data.
10 lines (9 loc) • 334 B
TypeScript
/**
* Encode a data type into a flatbuffer.
* @param {Builder} builder
* @param {DataType} type
* @returns {number} The offset at which the data type is written.
*/
export function encodeDataType(builder: Builder, type: DataType): number;
import type { Builder } from './builder.js';
import type { DataType } from '../types.js';