72 if ONIXS_ICEBOE_UNLIKELY(
header->size() >
size)
88 const void*
data() const noexcept
110 return (
nullptr != data_);
#define ONIXS_ICEBOE_MESSAGING_NAMESPACE_BEGIN
#define ONIXS_ICEBOE_MESSAGING_NAMESPACE_END
#define ONIXS_ICEBOE_UNUSED
#define ONIXS_ICEBOE_EXPORTED
void clear() noexcept
Blank the instance.
NetworkMessage(const void *data, size_t size, SbeMessage::NoCheck) noexcept
Constructs NetworkMessage from a data block. Performs no checks.
NetworkMessage(const void *data, size_t size)
Constructs NetworkMessage from a data block.
NetworkMessage() noexcept
Constructs an empty instance.
bool valid() const noexcept
const SimpleOpenFramingHeader * header() const noexcept
const void * data() const noexcept
MessageSize size() const noexcept
SbeMessage message() const noexcept
Retrieves the underlying SBE message.
ONIXS_ICEBOE_FORCEINLINE void * toMutable(const Type *ptr) noexcept
std::string toStr(const FixedPointDecimal< Mantissa, Exponent > &)
Serializes a fixed-point decimal into a string.
void throwBinaryBlockIsTooSmall(MessageSize actual, MessageSize required)
Raises an exception when the given binary block is too small.
UInt16 MessageSize
Message length type.
void throwNetPacketIsTooSmall(MessageSize actual, MessageSize required)
constexpr UInt16 SbeEncodingType
ONIXS_ICEBOE_FORCEINLINE Byte * toByteBlock(Type *ptr) noexcept
Reinterprets the pointer as a byte block one.
void throwIncorrectEncoding(Messaging::UInt16 encoding, const void *data, MessageSize size)