void Codec12::readNewTopologyIfPresent( Transport& transport, const HeaderParams& params) const { uint8_t topologyChangeByte = transport.readByte(); if (topologyChangeByte == 1) readNewTopologyAndHash(transport, params.topologyId); }
void Codec20::readNewTopologyIfPresent( Transport& transport, HeaderParams& params) const { uint8_t topologyChangeByte = transport.readByte(); if (topologyChangeByte == 1) { TRACE("Topology has changes"); readNewTopologyAndHash(transport, params); } else { TRACE("No topology changes"); } }