1 /**
2  * @file mega/serialize64.h
3  * @brief 64-bit int serialization/unserialization
4  *
5  * (c) 2013-2014 by Mega Limited, Auckland, New Zealand
6  *
7  * This file is part of the MEGA SDK - Client Access Engine.
8  *
9  * Applications using the MEGA API must present a valid application key
10  * and comply with the the rules set forth in the Terms of Service.
11  *
12  * The MEGA SDK is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15  *
16  * @copyright Simplified (2-clause) BSD License.
17  *
18  * You should have received a copy of the license along with this
19  * program.
20  */
21 
22 #ifndef MEGA_SERIALIZE64_H
23 #define MEGA_SERIALIZE64_H 1
24 
25 #include "types.h"
26 
27 namespace mega {
28 // 64-bit int serialization/unserialization
29 struct MEGA_API Serialize64
30 {
31     static int serialize(byte *, uint64_t);
32     static int unserialize(byte*, int, uint64_t*);
33 };
34 } // namespace
35 
36 #endif
37