Skip to main content

Module raw_transfer_write

Module raw_transfer_write 

Source
Expand description

Write-direction buffer serialization and deserialization for raw FFI transfer.

Provides cells_to_raw_buffer to encode structured cell data into a compact binary buffer, and raw_buffer_to_cells to decode a buffer back into cell values. These are used for the JS-to-Rust write path (e.g., setSheetData) and for round-trip testing.

The binary format matches the specification in raw_transfer.rs so that buffers produced by either module can be consumed by the other.

Functionsยง

cells_to_raw_buffer
Encode cell values into a raw buffer for transfer.
raw_buffer_to_cells
Decode a raw buffer into cell values for applying to a worksheet.