pub fn write_i64<T>( stream: &mut dyn Write, value: T) -> Result<usize, StatusCode> where T: Into<i64>,
Writes a signed 64-bit value to the stream