pub type NetworkWriter = fn(&ComponentData, &mut Vec<u8>) -> Result<()>;
Writer function for serializing a component to network format.