* 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. */
()
| 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.) |