pub fn encode_grid(grid: &HGrid) -> Result<String, CodecError>
Encode an HGrid to the Zinc wire format.