/*
* Para comprobar que el modo de codificar los bytes son igual que en la versiĆ³n de Java
*/
- char buffer [sizeof (Integer64)];
+ char buffer [sizeof (S64)];
short ss = 23456;
comm::functions::codeShort (buffer, ss);
xx = comm::functions::decodeInteger (buffer);
cout << anna::functions::asString ("Integer2: %d - 0x%x\n\n", xx, xx);
-// Integer64 ll = 31604938272LL;
- Integer64 ll = 98765432101234LL;
+// S64 ll = 31604938272LL;
+ S64 ll = 98765432101234LL;
comm::functions::codeInteger64 (buffer, ll);
dataBlock.clear ();
dataBlock.append (buffer, sizeof (ll));
cout << "Float O: " << ff2 << " (" << anna::functions::asHexString (ii) << ") " << endl;
dd = -123123123.3232;
- Integer64 ii64;
+ S64 ii64;
anna_memcpy (&ii64, &dd, sizeof (dd));
comm::functions::codeInteger64 (buffer, ii64);
cout << "Double I: " << dd << " (" << anna::functions::asHexString (ii64) << ") " << endl;