Skip to content
Sheetwrite

Sheetwrite / Documentation

WindowView@sheetwrite/wasm

A bulk window of resolved cells, row-major over nrows x ncols.

A bulk window of resolved cells, row-major over n_rows x n_cols.

Members 5

free
free: () => void;
nCols
nCols: number;
nRows
nRows: number;
takePacked Consume the complete fixed-width window payload.
takePacked: () => Uint8Array;

Consume the complete fixed-width window payload. The returned `Uint8Array` is copied by wasm-bindgen into JS-owned memory.

takeStrings Consume formula-error sentinel strings referenced by the packed data.
takeStrings: () => string[]

Declaration

View full TypeScript declaration
class WindowView {
free: () => void;
nCols: number;
nRows: number;
takePacked: () => Uint8Array;
takeStrings: () => string[];
}