fn varint_writer(data: &ComponentData, writer: &mut Vec<u8>) -> Result<()>
Network writer for VarInt-encoded i32 components.