serialize
Description:
Serialized a TimePacket into a newly-allocated sequence of SIZE bytes, in network byte order.
The value returned is suitable for passing to write(2) or sendto(2) for communication over the network.
MT safe. Caller owns return value (g_free to free).
Parameters:
this |
the TimePacket |
Returns:
A newly allocated sequence of SIZE bytes. |