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

Method skipArray

lang/php/lib/Datum/AvroIOBinaryDecoder.php:280–292  ·  view source on GitHub ↗
($writers_schema, AvroIOBinaryDecoder $decoder)

Source from the content-addressed store, hash-verified

278 }
279
280 public function skipArray($writers_schema, AvroIOBinaryDecoder $decoder)
281 {
282 $block_count = $decoder->readLong();
283 while (0 !== $block_count) {
284 if ($block_count < 0) {
285 $decoder->skip($this->readLong());
286 }
287 for ($i = 0; $i < $block_count; $i++) {
288 AvroIODatumReader::skipData($writers_schema->items(), $decoder);
289 }
290 $block_count = $decoder->readLong();
291 }
292 }
293
294 public function skipMap($writers_schema, AvroIOBinaryDecoder $decoder)
295 {

Callers 1

skipDataMethod · 0.45

Calls 4

readLongMethod · 0.95
skipDataMethod · 0.80
skipMethod · 0.45
itemsMethod · 0.45

Tested by

no test coverage detected