/** * @param int $n */ function write_long($n) { if (Avro::uses_gmp()) { $this->write(AvroGMP::encode_long($n)); } else { $this->write(self::encode_long($n)); } }