code: function readArraySize(tap) {
    var n = tap.readLong();
    if (n < 0) {
      n = -n;
      tap.skipLong(); // Skip size.
    }
    return n;
  }
docs: Get the number of elements in an array block.
  
  @param tap {Tap} A tap positioned at the beginning of an array block.