diff options
author | Marc Laukien <marc@zeroc.com> | 2001-10-09 18:27:58 +0000 |
---|---|---|
committer | Marc Laukien <marc@zeroc.com> | 2001-10-09 18:27:58 +0000 |
commit | ca9e4073d50175daa12dba5f197f3324eb2722cc (patch) | |
tree | ee1813a45b738c456b4bc3eb72e19e78d1b35b36 /cpp/src/Ice/PicklerI.cpp | |
parent | removed pickler, native (diff) | |
download | ice-ca9e4073d50175daa12dba5f197f3324eb2722cc.tar.bz2 ice-ca9e4073d50175daa12dba5f197f3324eb2722cc.tar.xz ice-ca9e4073d50175daa12dba5f197f3324eb2722cc.zip |
IntStream
Diffstat (limited to 'cpp/src/Ice/PicklerI.cpp')
-rw-r--r-- | cpp/src/Ice/PicklerI.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/src/Ice/PicklerI.cpp b/cpp/src/Ice/PicklerI.cpp index cfb2e856f72..a7168c9e0e8 100644 --- a/cpp/src/Ice/PicklerI.cpp +++ b/cpp/src/Ice/PicklerI.cpp @@ -9,7 +9,7 @@ // ********************************************************************** #include <Ice/PicklerI.h> -#include <Ice/Stream.h> +#include <Ice/IntStream.h> #include <Ice/LocalException.h> #include <Ice/Protocol.h> @@ -20,7 +20,7 @@ using namespace IceInternal; void Ice::PicklerI::pickle(const ObjectPtr& servant, std::ostream& out) { - Stream s(_instance); + IntStream s(_instance); s.startWriteEncaps(); s.write(servant); s.endWriteEncaps(); @@ -34,7 +34,7 @@ Ice::PicklerI::pickle(const ObjectPtr& servant, std::ostream& out) ObjectPtr Ice::PicklerI::unpickle(const string& type, std::istream& in) { - Stream s(_instance); + IntStream s(_instance); s.b.resize(4); // Encapsulation length == Ice::Int in.read(s.b.begin(), 4); if (in.eof()) |