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

Method readBlockHeader

lang/php/lib/DataFile/AvroDataIOReader.php:235–239  ·  view source on GitHub ↗

* Reads the block header (which includes the count of items in the block * and the length in bytes of the block) * @returns int length in bytes of the block. */

()

Source from the content-addressed store, hash-verified

233 * @returns int length in bytes of the block.
234 */
235 private function readBlockHeader()
236 {
237 $this->block_count = $this->decoder->readLong();
238 return $this->decoder->readLong();
239 }
240
241 /**
242 * Closes this writer (and its AvroIO object.)

Callers 1

dataMethod · 0.95

Calls 1

readLongMethod · 0.45

Tested by

no test coverage detected