MCPcopy Create free account
hub / github.com/apache/avro / writeLong

Method writeLong

lang/php/lib/Datum/AvroIOBinaryEncoder.php:86–93  ·  view source on GitHub ↗

* @param int $n */

($n)

Source from the content-addressed store, hash-verified

84 * @param int $n
85 */
86 public function writeLong($n)
87 {
88 if (Avro::usesGmp()) {
89 $this->write(AvroGMP::encodeLong($n));
90 } else {
91 $this->write(self::encodeLong($n));
92 }
93 }
94
95 /**
96 * @param int|string $n

Callers 7

writeIntMethod · 0.95
writeBytesMethod · 0.95
writeBlockMethod · 0.45
writeValidatedDataMethod · 0.45
writeArrayMethod · 0.45
writeMapMethod · 0.45
writeUnionMethod · 0.45

Calls 3

writeMethod · 0.95
encodeLongMethod · 0.95
usesGmpMethod · 0.80

Tested by

no test coverage detected