summaryrefslogtreecommitdiff
path: root/cpp/include/Ice/OutputStream.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/include/Ice/OutputStream.h')
-rw-r--r--cpp/include/Ice/OutputStream.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/cpp/include/Ice/OutputStream.h b/cpp/include/Ice/OutputStream.h
index ed2ddc3783c..ee45b8b4429 100644
--- a/cpp/include/Ice/OutputStream.h
+++ b/cpp/include/Ice/OutputStream.h
@@ -49,6 +49,13 @@ public:
//
OutputStream(const CommunicatorPtr&, const EncodingVersion&);
+ //
+ // This constructor uses the given communicator and encoding version. The byte pair denotes
+ // application-supplied memory that the stream uses as its initial marshaling buffer. The
+ // stream will reallocate if the size of the marshaled data exceeds the application's buffer.
+ //
+ OutputStream(const CommunicatorPtr&, const EncodingVersion&, const std::pair<const Byte*, const Byte*>&);
+
~OutputStream()
{
// Inlined for performance reasons.