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

Method writeDouble

lang/php/lib/Datum/AvroIOBinaryEncoder.php:154–157  ·  view source on GitHub ↗

* @param float $datum * @uses self::doubleToLongBits() */

($datum)

Source from the content-addressed store, hash-verified

152 * @uses self::doubleToLongBits()
153 */
154 public function writeDouble($datum)
155 {
156 $this->write(self::doubleToLongBits($datum));
157 }
158
159 /**
160 * Performs encoding of the given double value to a binary string

Callers 1

writeValidatedDataMethod · 0.45

Calls 2

writeMethod · 0.95
doubleToLongBitsMethod · 0.95

Tested by

no test coverage detected