private int readFromPeekBuffer(byte[] target,int offset,int length){
  if (peekBufferLength == 0) {
    return 0;
  }
  int peekBytes=Math.min(peekBufferLength,length);
  System.arraycopy(peekBuffer,0,target,offset,peekBytes);
  updatePeekBuffer(peekBytes);
  return peekBytes;
}

private int readFromPeekBuffer ( byte [ ] target , int offset , int length ) { if ( peekBufferLength == 0 ) { return 0 ; } int peekBytes = Math . min ( peekBufferLength , length ) ; System . arraycopy ( peekBuffer , 0 , target , offset , peekBytes ) ; updatePeekBuffer ( peekBytes ) ; return peekBytes ; }
reads from the peek buffer
