summaryrefslogtreecommitdiff
path: root/matlab/src/IceMatlab/InputStream.h
diff options
context:
space:
mode:
Diffstat (limited to 'matlab/src/IceMatlab/InputStream.h')
-rw-r--r--matlab/src/IceMatlab/InputStream.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/matlab/src/IceMatlab/InputStream.h b/matlab/src/IceMatlab/InputStream.h
new file mode 100644
index 00000000000..a801d6a5cb4
--- /dev/null
+++ b/matlab/src/IceMatlab/InputStream.h
@@ -0,0 +1,27 @@
+// **********************************************************************
+//
+// Copyright (c) 2003-2017 ZeroC, Inc. All rights reserved.
+//
+// This copy of Ice is licensed to you under the terms described in the
+// ICE_LICENSE file included in this distribution.
+//
+// **********************************************************************
+
+#include <Ice/InputStream.h>
+
+namespace IceMatlab
+{
+
+struct InputStreamData
+{
+ std::vector<Ice::Byte> data;
+ Ice::InputStream* in;
+};
+
+//
+// Consumes the vector.
+//
+void* createInputStream(const std::shared_ptr<Ice::Communicator>&, const Ice::EncodingVersion&,
+ std::vector<Ice::Byte>&);
+
+}