lib/types.js
function readArraySize(tap) {
  var n = tap.readLong();
  if (n < 0) {
    n = -n;
    tap.skipLong(); // Skip size.
  }
  return n;
}
function readArraySize(tap) {
  var n = tap.readLong();
  if (n < 0) {
    n = -n;
    tap.skipLong(); // Skip size.
  }
  return n;
}
function readArraySize ( tap ) { var n = tap . readLong ( ) ; if ( n < 0 ) { n = - n ; tap . skipLong ( ) ; // Skip size. } return n ; }
Get the number of elements in an array block.

@param tap {Tap} A tap positioned at the beginning of an array block.
Get the number of elements in an array block .