Use an offset pointer, removing a lot of memory copies when decoding a message.
authorRobin Burchell <viroteck@viroteck.net>
Sat, 6 Feb 2010 02:20:38 +0000 (02:20 +0000)
committerRobin Burchell <viroteck@viroteck.net>
Sat, 6 Feb 2010 02:26:04 +0000 (02:26 +0000)
commit748de3f730d0240e40a1104e3ad4f1c8208482f2
treef72a0a3eb68e3901ca6cc2c2f45d5fef076ccfd9
parent758e4df750779836be4b25a65b180bd2f9b31b2b
Use an offset pointer, removing a lot of memory copies when decoding a message.
Also means that all stream operations are no longer destructive.
ProtocolCommand.cpp
ProtocolCommand.h