0.9.8.10
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Namespaces | Functions
DirEntry.cc File Reference
#include <Common/Compat.h>
#include "DirEntry.h"
#include <Common/Serialization.h>
#include <Common/Logger.h>
Include dependency graph for DirEntry.cc:

Go to the source code of this file.

Namespaces

 Hyperspace
 Hyperspace definitions
 

Functions

size_t Hyperspace::encoded_length_dir_entry (const DirEntry &dir_entry)
 Returns the number of bytes required to encode (serialize) the given directory entry. More...
 
void Hyperspace::encode_dir_entry (uint8_t **buf_ptr, const DirEntry &dir_entry)
 Encodes (serializes) the given directory entry to a buffer. More...
 
DirEntryHyperspace::decode_dir_entry (const uint8_t **buf_ptr, size_t *remaining_ptr, DirEntry &dir_entry)
 Decodes (unserializes) a directory entry from a buffer. More...