summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/StreamI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/Ice/StreamI.cpp')
-rw-r--r--cpp/src/Ice/StreamI.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/cpp/src/Ice/StreamI.cpp b/cpp/src/Ice/StreamI.cpp
index 05cb4c44c3a..83e9dc5c226 100644
--- a/cpp/src/Ice/StreamI.cpp
+++ b/cpp/src/Ice/StreamI.cpp
@@ -88,6 +88,12 @@ Ice::InputStreamI::readByteSeq()
return v;
}
+void
+Ice::InputStreamI::readByteSeq(pair<const Byte*, const Byte*>& p)
+{
+ _is.read(p);
+}
+
Short
Ice::InputStreamI::readShort()
{
@@ -331,6 +337,12 @@ Ice::OutputStreamI::writeByteSeq(const vector<Byte>& v)
}
void
+Ice::OutputStreamI::writeByteSeq(const Byte* begin, const Byte* end)
+{
+ _os.write(begin, end);
+}
+
+void
Ice::OutputStreamI::writeShort(Short v)
{
_os.write(v);