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

Method writeBoolean

lang/php/lib/Datum/AvroIOBinaryEncoder.php:61–65  ·  view source on GitHub ↗

* @param boolean $datum */

($datum)

Source from the content-addressed store, hash-verified

59 * @param boolean $datum
60 */
61 public function writeBoolean($datum)
62 {
63 $byte = $datum ? chr(1) : chr(0);
64 $this->write($byte);
65 }
66
67 /**
68 * @param string $datum

Callers 1

writeValidatedDataMethod · 0.45

Calls 1

writeMethod · 0.95

Tested by

no test coverage detected