public LongBuffer put(long[] src,int srcOffset,int longCount){
  Arrays.checkOffsetAndCount(src.length,srcOffset,longCount);
  if (longCount > remaining()) {
    throw new BufferOverflowException();
  }
  for (int i=srcOffset; i < srcOffset + longCount; ++i) {
    put(src[i]);
  }
  return this;
}

public LongBuffer put ( long [ ] src , int srcOffset , int longCount ) { Arrays . checkOffsetAndCount ( src . length , srcOffset , longCount ) ; if ( longCount > remaining ( ) ) { throw new BufferOverflowException ( ) ; } for ( int i = srcOffset ; i < srcOffset + longCount ; ++ i ) { put ( src [ i ] ) ; } return this ; }
writes longs from the given long array , starting from the specified offset , to the current position and increases the position by the number of longs written .
