MCPcopy Create free account
hub / github.com/MonaSolutions/MonaServer / PacketWriter

Method PacketWriter

MonaBase/include/Mona/PacketWriter.h:30–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28class PacketWriter: public BinaryWriter, public virtual NullableObject {
29public:
30 PacketWriter(Buffer& buffer) : _buffer(buffer),BinaryWriter(NULL,0) {}
31 PacketWriter(const PoolBuffers& poolBuffers) : _ppBuffer(new PoolBuffer(poolBuffers)),BinaryWriter(NULL,0),_buffer(Buffer::Null) {}
32
33 UInt8* buffer(UInt32 size) { UInt32 pos(this->size()); next(size); return (UInt8*)data()+pos; }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected