Remove core-comm dependency through CounterManager/timex in core/oam subsystem. Basic...
[anna.git] / example / comm / codec / main.cpp
index 6369af3..e581405 100644 (file)
@@ -165,7 +165,7 @@ void Test::run ()
    /*
     * 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);
@@ -185,8 +185,8 @@ void Test::run ()
    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));
@@ -209,7 +209,7 @@ void Test::run ()
    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;