diff options
author | Mark Spruiell <mes@zeroc.com> | 2006-08-16 22:47:04 +0000 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2006-08-16 22:47:04 +0000 |
commit | 9fbd34278bda7d84f9773869d0ba4308ec156253 (patch) | |
tree | d988a7d329ac2643b858a7f9f01131c83992f2cc /cpp/src/Ice/StreamI.h | |
parent | started the 'two threads per connection' (diff) | |
download | ice-9fbd34278bda7d84f9773869d0ba4308ec156253.tar.bz2 ice-9fbd34278bda7d84f9773869d0ba4308ec156253.tar.xz ice-9fbd34278bda7d84f9773869d0ba4308ec156253.zip |
adding zero-copy functions for sequence<byte>
Diffstat (limited to 'cpp/src/Ice/StreamI.h')
-rw-r--r-- | cpp/src/Ice/StreamI.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cpp/src/Ice/StreamI.h b/cpp/src/Ice/StreamI.h index 971f3072335..701442617b8 100644 --- a/cpp/src/Ice/StreamI.h +++ b/cpp/src/Ice/StreamI.h @@ -65,6 +65,7 @@ public: virtual ::Ice::Byte readByte(); virtual ::std::vector< ::Ice::Byte > readByteSeq(); + virtual void readByteSeq(::std::pair<const ::Ice::Byte*, const ::Ice::Byte*>&); virtual ::Ice::Short readShort(); virtual ::std::vector< ::Ice::Short > readShortSeq(); @@ -131,6 +132,7 @@ public: virtual void writeByte(::Ice::Byte); virtual void writeByteSeq(const ::std::vector< ::Ice::Byte >&); + virtual void writeByteSeq(const Ice::Byte*, const Ice::Byte*); virtual void writeShort(::Ice::Short); virtual void writeShortSeq(const ::std::vector< ::Ice::Short >&); |