diff options
Diffstat (limited to 'lang/java/src/com/wiredtiger/db/PackOutputStream.java')
-rw-r--r-- | lang/java/src/com/wiredtiger/db/PackOutputStream.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lang/java/src/com/wiredtiger/db/PackOutputStream.java b/lang/java/src/com/wiredtiger/db/PackOutputStream.java index 5cac18a376e..680768b03b3 100644 --- a/lang/java/src/com/wiredtiger/db/PackOutputStream.java +++ b/lang/java/src/com/wiredtiger/db/PackOutputStream.java @@ -25,6 +25,11 @@ public class PackOutputStream { return packed.toByteArray(); } + public void reset() { + format.reset(); + packed.reset(); + } + public void addFieldByte(byte value) throws WiredTigerPackingException { format.checkFieldType('b', true); |