}
int comm::LiteTransport::calculeSize(const DataBlock& dataBlock)
-throw(RuntimeException) {
+noexcept(false) {
const char* buffer = dataBlock.getData();
return (dataBlock.getSize() >= headerSize) ? functions::decodeShort(buffer) + headerSize : -1;
}
const comm::Message* comm::LiteTransport::decode(const DataBlock& message)
-throw(RuntimeException) {
+noexcept(false) {
const int totalSize = message.getSize();
if(totalSize < headerSize)
}
const DataBlock& comm::LiteTransport::code(comm::Message& message)
-throw(RuntimeException) {
+noexcept(false) {
char aux [sizeof(int)];
const DataBlock& data = message.code();
a_forCode.clear();