• Serialize a Table to the IPC format. This function is a convenience wrapper for RecordBatchStreamWriter and RecordBatchFileWriter. Opposite of tableFromIPC.

    Type Parameters

    • T extends TypeMap = any

    Parameters

    • table: Table<any>

      The Table to serialize.

    • type: "file" | "stream" = 'stream'

      Whether to serialize the Table as a file or a stream.

    Returns Uint8Array