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

Method writeFloat

lang/php/lib/Datum/AvroIOBinaryEncoder.php:128–131  ·  view source on GitHub ↗

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

($datum)

Source from the content-addressed store, hash-verified

126 * @uses self::floatToIntBits()
127 */
128 public function writeFloat($datum)
129 {
130 $this->write(self::floatToIntBits($datum));
131 }
132
133 /**
134 * Performs encoding of the given float value to a binary string

Callers 1

writeValidatedDataMethod · 0.45

Calls 2

writeMethod · 0.95
floatToIntBitsMethod · 0.95

Tested by

no test coverage detected