question: public ShortBuffer put ( short [ ] src , int srcOffset , int shortCount ) { JTranscArrays . checkOffsetAndCount ( src . length , srcOffset , shortCount ) ; if ( shortCount > remaining ( ) ) { throw new BufferOverflowException ( ) ; } for ( int i = srcOffset ; i < srcOffset + shortCount ; ++ i ) { put ( src [ i ] ) ; } return this ; }
target:  Writes shorts from the given short array, starting from the specified offset, to the current position and increases the position by the number of shorts written.