Skip to content

cupertino-files / PreBncRecord

Interface: PreBncRecord ​

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

A decoded pre-BNC record. Undecoded fields are reported, never invented.

Properties ​

extras ​

extras: number

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

The raw extras word, a presence mask mirroring some flags.


flags ​

flags: number

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

The raw flag word. Its field assignment is not fully resolved.


leading ​

leading: number[]

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

The words before the value, in order. Reported so nothing is lost.


number? ​

optional number?: number

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

The cell's value, for a number cell.


seconds? ​

optional seconds?: number

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

Seconds since 2001-01-01 UTC, for a date cell.


stringId? ​

optional stringId?: number

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

Key into the table's string table, for a text cell.


trailingId? ​

optional trailingId?: number

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

The four bytes after the value on a number or date record.

Constant per column in every document measured, so most likely a style or format key. Reported rather than named.


type ​

type: number

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

TST cell type code, the same enum v5 uses.

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