pub async fn write_bool<W: AsyncWriteExt + Unpin>( w: &mut W, v: bool, ) -> Result<()>
Write a boolean to the stream, encoded as u64 (>0 is true).