pub fn write_vint<W: Write>(writer: &mut W, value: u64) -> Result<()>
Write variable-length integer (1-9 bytes)
Uses continuation bit encoding: 7 bits of data per byte, high bit indicates more bytes follow.