Exemplo n.º 1
0
 public byte[] getBytes() {
   byte[] result = new byte[STRUCTSIZE];
   byte[] tempData;
   int offset = 0;
   tempData = frRect.getBytes();
   System.arraycopy(tempData, 0, result, offset, tempData.length);
   offset += tempData.length;
   System.arraycopy(frFlags, 0, result, offset, frFlags.length);
   offset += frFlags.length;
   tempData = frLocation.getBytes();
   System.arraycopy(tempData, 0, result, offset, tempData.length);
   offset += tempData.length;
   System.arraycopy(frView, 0, result, offset, frView.length);
   offset += frView.length;
   return result;
 }