Skip to content

cupertino-files / splitPreBncRow

Function: splitPreBncRow()

splitPreBncRow(buffer, offsets): object[]

Defined in: src/tst/prebnc.ts:166

Split a pre-BNC row buffer into per-column records.

The offsets array is the only reliable boundary — records are not self-describing — and 0xFFFF marks a column with no cell. Offsets are sorted before differencing because column order and storage order are not required to agree.

Parameters

buffer

Uint8Array

offsets

Uint8Array

Returns

object[]

MIT licensed. Independently made — not by Apple in California. Not affiliated with or endorsed by Apple Inc.