code: public void putData(int offset, byte[] tempData)
     {
        for (int i = 0; i < tempData.length; i++)
           data[i + offset] = tempData[i];
     }
docs: putData.
  
  @param offset
  offset in 'data'
  @param tempData
  piece of binary data