Skip to content

cupertino-files / decodePreBncRecord

Function: decodePreBncRecord()

decodePreBncRecord(bytes): PreBncRecord | undefined

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

Decode one pre-BNC record, or return undefined if its shape is unknown.

undefined means "this library has not measured this shape", which the caller must surface rather than treat as an empty cell.

Parameters

bytes

Uint8Array

Returns

PreBncRecord | undefined

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