39#include "blocxx/BLOCXX_config.h"
50namespace BinarySerialization
78 else if (
len < (1 << 16))
82 else if (
len < (1 << 24))
152 Format(
"Received invalid signature. Got: %1 Expected: %2",
Int32(val),
#define BLOCXX_THROW(exType, msg)
Throw an exception using FILE and LINE.
#define BLOCXX_THROW_ERRNO_MSG(exType, msg)
Throw an exception using FILE, LINE, errno and strerror(errno)
void readLen(std::streambuf &istrm, UInt32 &len)
void verifySignature(std::streambuf &istrm, UInt8 validSig)
void read(std::streambuf &istrm, void *dataIn, size_t dataInLen)
void writeStringArray(std::streambuf &ostrm, const StringArray *propertyList)
void write(std::streambuf &ostrm, void const *dataOut, size_t dataOutLen)
void writeLen(std::streambuf &ostrm, UInt32 len)
void writeBool(std::streambuf &ostrm, Bool arg)
bool operator==(const Array< T > &x, const Array< T > &y)