Skip to main content

to_bytes

Function to_bytes 

Source
pub fn to_bytes(graph: &Graph) -> Vec<u8> 
Expand description

Serialize a graph to compact binary format.

The format is designed for compactness (~7 bytes per node) and fast parsing. All multi-byte values use little-endian encoding.