-// ANNA - Anna is Not 'N' Anymore
+// ANNA - Anna is Not Nothingness Anymore
//
// (c) Copyright 2005-2014 Eduardo Ramos Testillano & Francisco Ruiz Rayo
//
-// https://bitbucket.org/testillano/anna
+// http://redmine.teslayout.com/projects/anna-suite
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions
// copyright notice, this list of conditions and the following disclaimer
// in the documentation and/or other materials provided with the
// distribution.
-// * Neither the name of Google Inc. nor the names of its
+// * Neither the name of the copyright holder nor the names of its
// contributors may be used to endorse or promote products derived from
// this software without specific prior written permission.
//
/*
* 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;