public void write(byte[] buffer,int start,int end){
  try {
    mmOutStream.write(buffer,start,end);
  }
 catch (  IOException e) {
  }
}

public void write ( byte [ ] buffer , int start , int end ) { try { mmOutStream . write ( buffer , start , end ) ; } catch ( IOException e ) { } }
write to the connected outstream .
