blocxx
Namespaces | Functions | Variables

BinarySerialization.hpp File Reference

#include "blocxx/BLOCXX_config.h"
#include "blocxx/Types.hpp"
#include "blocxx/Bool.hpp"
#include "blocxx/String.hpp"
#include "blocxx/Array.hpp"
#include "blocxx/ByteSwap.hpp"
#include "IOException.hpp"
#include <iosfwd>
#include "blocxx/ByteSwap.hpp"

Go to the source code of this file.

Namespaces

namespace  BLOCXX_NAMESPACE
 

Taken from RFC 1321.


namespace  BLOCXX_NAMESPACE::BinarySerialization

Functions

void BLOCXX_NAMESPACE::BinarySerialization::verifySignature (std::streambuf &istrm, UInt8 validSig)
template<typename Handler , typename ReaderFunc >
void BLOCXX_NAMESPACE::BinarySerialization::readEnum (std::streambuf &istrm, Handler &result, const ReaderFunc &read, const UInt8 beginsig, const UInt8 endsig)
void BLOCXX_NAMESPACE::BinarySerialization::write (std::streambuf &ostrm, void const *dataOut, size_t dataOutLen)
void BLOCXX_NAMESPACE::BinarySerialization::write (std::streambuf &ostrm, Int32 val)
void BLOCXX_NAMESPACE::BinarySerialization::write (std::streambuf &ostrm, UInt32 val)
void BLOCXX_NAMESPACE::BinarySerialization::writeLen (std::streambuf &ostrm, UInt32 len)
void BLOCXX_NAMESPACE::BinarySerialization::write (std::streambuf &ostrm, UInt8 val)
void BLOCXX_NAMESPACE::BinarySerialization::write (std::streambuf &ostrm, UInt16 val)
void BLOCXX_NAMESPACE::BinarySerialization::write (std::streambuf &ostrm, Int16 val)
void BLOCXX_NAMESPACE::BinarySerialization::write (std::streambuf &ostrm, UInt64 val)
void BLOCXX_NAMESPACE::BinarySerialization::write (std::streambuf &ostrm, Int64 val)
void BLOCXX_NAMESPACE::BinarySerialization::write (std::streambuf &ostrm, const String &str)
void BLOCXX_NAMESPACE::BinarySerialization::writeBool (std::streambuf &ostrm, Bool arg)
void BLOCXX_NAMESPACE::BinarySerialization::writeString (std::streambuf &ostrm, const String &str)
void BLOCXX_NAMESPACE::BinarySerialization::readLen (std::streambuf &istrm, UInt32 &len)
template<typename T >
void BLOCXX_NAMESPACE::BinarySerialization::readArray (std::streambuf &istr, T &a)
template<typename T >
void BLOCXX_NAMESPACE::BinarySerialization::writeArray (std::streambuf &ostrm, const T &a)
void BLOCXX_NAMESPACE::BinarySerialization::writeStringArray (std::streambuf &ostrm, const StringArray &stra)
void BLOCXX_NAMESPACE::BinarySerialization::writeStringArray (std::streambuf &ostrm, const StringArray *propertyList)
void BLOCXX_NAMESPACE::BinarySerialization::read (std::streambuf &istrm, void *dataIn, size_t dataInLen)
void BLOCXX_NAMESPACE::BinarySerialization::read (std::streambuf &istrm, String &arg)
void BLOCXX_NAMESPACE::BinarySerialization::read (std::streambuf &istrm, UInt64 &val)
void BLOCXX_NAMESPACE::BinarySerialization::read (std::streambuf &istrm, Int64 &val)
void BLOCXX_NAMESPACE::BinarySerialization::read (std::streambuf &istrm, Int32 &val)
void BLOCXX_NAMESPACE::BinarySerialization::read (std::streambuf &istrm, UInt32 &val)
void BLOCXX_NAMESPACE::BinarySerialization::read (std::streambuf &istrm, UInt16 &val)
void BLOCXX_NAMESPACE::BinarySerialization::read (std::streambuf &istrm, Int16 &val)
void BLOCXX_NAMESPACE::BinarySerialization::read (std::streambuf &istrm, UInt8 &val)
Bool BLOCXX_NAMESPACE::BinarySerialization::readBool (std::streambuf &istrm)
String BLOCXX_NAMESPACE::BinarySerialization::readString (std::streambuf &istrm)
StringArray BLOCXX_NAMESPACE::BinarySerialization::readStringArray (std::streambuf &istrm)

Variables

const UInt32 BLOCXX_NAMESPACE::BinarySerialization::BinaryProtocolVersion = 4000002
const UInt32 BLOCXX_NAMESPACE::BinarySerialization::MinBinaryProtocolVersion = 3000007
const UInt8 BLOCXX_NAMESPACE::BinarySerialization::BIN_OK = 0
const UInt8 BLOCXX_NAMESPACE::BinarySerialization::BIN_ERROR = 1
const UInt8 BLOCXX_NAMESPACE::BinarySerialization::BIN_EXCEPTION = 2
const UInt8 BLOCXX_NAMESPACE::BinarySerialization::BIN_END = 3
const UInt8 BLOCXX_NAMESPACE::BinarySerialization::BIN_LOG_MESSAGE = 45
const UInt8 BLOCXX_NAMESPACE::BinarySerialization::BINSIG_BOOL = 104
const UInt8 BLOCXX_NAMESPACE::BinarySerialization::BINSIG_STR = 106
const UInt8 BLOCXX_NAMESPACE::BinarySerialization::BINSIG_STRARRAY = 107
const UInt8 BLOCXX_NAMESPACE::BinarySerialization::BINSIG_STRINGENUM = 115
const UInt8 BLOCXX_NAMESPACE::BinarySerialization::END_STRINGENUM = 154