private void updatePeekBuffer(int bytesConsumed){
  peekBufferLength-=bytesConsumed;
  peekBufferPosition=0;
  System.arraycopy(peekBuffer,bytesConsumed,peekBuffer,0,peekBufferLength);
}

private void updatePeekBuffer ( int bytesConsumed ) { peekBufferLength -= bytesConsumed ; peekBufferPosition = 0 ; System . arraycopy ( peekBuffer , bytesConsumed , peekBuffer , 0 , peekBufferLength ) ; }
updates the peek buffer ' s length , position and contents after consuming data .
