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.

Structs§

ValidatedCellTransfer
Opaque raw-transfer values admitted under one decode/mutation budget.

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.
raw_buffer_to_validated_cell_transfer
Decode and shift raw-transfer values for one atomic workbook mutation.
validate_cell_transfer_target
Validate a workbook target before decoding a raw transfer.