summaryrefslogtreecommitdiff
path: root/java/src/Ice/OutputStreamI.java
diff options
context:
space:
mode:
Diffstat (limited to 'java/src/Ice/OutputStreamI.java')
-rw-r--r--java/src/Ice/OutputStreamI.java8
1 files changed, 7 insertions, 1 deletions
diff --git a/java/src/Ice/OutputStreamI.java b/java/src/Ice/OutputStreamI.java
index d7b4ffd23d5..60973c2fc69 100644
--- a/java/src/Ice/OutputStreamI.java
+++ b/java/src/Ice/OutputStreamI.java
@@ -243,6 +243,12 @@ public class OutputStreamI implements OutputStream
_os.writePendingObjects();
}
+ public void
+ writeOptional(int tag, Ice.OptionalType type)
+ {
+ _os.writeOpt(tag, type);
+ }
+
public byte[]
finished()
{
@@ -260,7 +266,7 @@ public class OutputStreamI implements OutputStream
}
public void
- rewrite(int pos, int sz)
+ rewrite(int sz, int pos)
{
_os.writeInt(sz, pos);
}