7 : size (encoded_size ()),
8 states (0), initial_timestamp (time (NULL)),
31 return sizeof (uint64_t) * 4
32 +
sizeof (
char) * (64 + 8)
38 int64_t & buffer_remaining)
41 if ((
size_t)buffer_remaining >=
sizeof (
size))
44 buffer +=
sizeof (
size);
46 buffer_remaining -=
sizeof (
size);
49 if ((
size_t)buffer_remaining >=
sizeof (
states))
54 buffer_remaining -=
sizeof (
states);
73 if ((
size_t)buffer_remaining >=
sizeof (char) * 8)
76 buffer +=
sizeof (char) * 8;
78 buffer_remaining -=
sizeof (char) * 8;
89 if ((
size_t)buffer_remaining >=
sizeof (char) * 64)
92 buffer +=
sizeof (char) * 64;
94 buffer_remaining -=
sizeof (char) * 64;
101 int64_t & buffer_remaining)
104 if ((
size_t)buffer_remaining >=
sizeof (
size))
107 buffer +=
sizeof (
size);
109 buffer_remaining -=
sizeof (
size);
112 if ((
size_t)buffer_remaining >=
sizeof (
states))
115 buffer +=
sizeof (
states);
117 buffer_remaining -=
sizeof (
states);
136 if ((
size_t)buffer_remaining >=
sizeof (char) * 8)
139 buffer +=
sizeof (char) * 8;
141 buffer_remaining -=
sizeof (char) * 8;
153 if ((
size_t)buffer_remaining >=
sizeof (char) * 64)
156 buffer +=
sizeof (char) * 64;
158 buffer_remaining -=
sizeof (char) * 64;
MADARA_Export uint32_t get_uint_version(void)
Gets the MADARA version number.
MADARA_Export uint64_t endian_swap(uint64_t value)
Converts a host format uint64_t into big endian.
Provides utility functions and classes for common tasks and needs.
Copyright (c) 2015 Carnegie Mellon University.