Skip to main content

encode_sync_payload

Function encode_sync_payload 

Source
pub fn encode_sync_payload(grid: &HGrid) -> Result<Vec<u8>, String>
Expand description

Encode an entity grid to HBF binary for efficient federation sync.

Provides a compact binary representation that is significantly smaller than Zinc or JSON for bulk entity transfer.