@Deprecated public void write(byte b[],int off,int len){
  if (len < 0)   throw new ArrayIndexOutOfBoundsException(len);
  for (int i=0; i < len; ++i)   write(b[off + i]);
}

@ Deprecated public void write ( byte b [ ] , int off , int len ) { if ( len < 0 ) throw new ArrayIndexOutOfBoundsException ( len ) ; for ( int i = 0 ; i < len ; ++ i ) write ( b [ off + i ] ) ; }
write a subarray of bytes . pass each through write byte method .
