/** {@inheritDoc} */
 @Override
 public void set(int offset, short[] values, int valOffset, int length) {
   if (offset < 0 || offset + length > _pos) {
     throw new ArrayIndexOutOfBoundsException(offset);
   }
   _data.fromArray(values, valOffset, offset, length);
 }
 /** {@inheritDoc} */
 @Override
 public void add(short[] vals, int offset, int length) {
   ensureCapacity(_pos + length);
   _data.fromArray(vals, offset, _pos, length);
   _pos += length;
 }