CatapultServer  v0.5.0.1 (Elephant)
PacketEntityUtils.h File Reference
Include dependency graph for PacketEntityUtils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 catapult
 
 catapult::ionet
 

Functions

size_t catapult::ionet::CalculatePacketDataSize (const Packet &packet)
 Calculates the data size of packet. More...
 
template<typename TEntity >
bool catapult::ionet::IsSizeValid (const TEntity &entity)
 Checks the real size of entity against its reported size and returns true if the sizes match. More...
 
template<typename TEntity , typename TIsValidPredicate >
model::EntityRange< TEntity > catapult::ionet::ExtractEntitiesFromPacket (const Packet &packet, TIsValidPredicate isValid)
 
template<typename TEntity , typename TIsValidPredicate >
std::unique_ptr< TEntity > catapult::ionet::ExtractEntityFromPacket (const Packet &packet, TIsValidPredicate isValid)
 
template<typename TStructure >
model::EntityRange< TStructure > catapult::ionet::ExtractFixedSizeStructuresFromPacket (const Packet &packet)