From c8e6606056c3c233f8422f8a18542c878b6f8348 Mon Sep 17 00:00:00 2001 From: Michael Bayne Date: Tue, 21 Aug 2001 21:16:53 +0000 Subject: [PATCH] Need to reset our byte array output stream when we're done with it. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@298 542714f4-19e9-0310-aa3c-eee0fc999fb1 --- src/java/com/threerings/presents/dobj/io/EntryUtil.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/java/com/threerings/presents/dobj/io/EntryUtil.java b/src/java/com/threerings/presents/dobj/io/EntryUtil.java index 8635e060a..e70db8ced 100644 --- a/src/java/com/threerings/presents/dobj/io/EntryUtil.java +++ b/src/java/com/threerings/presents/dobj/io/EntryUtil.java @@ -1,5 +1,5 @@ // -// $Id: EntryUtil.java,v 1.1 2001/08/16 03:45:43 mdb Exp $ +// $Id: EntryUtil.java,v 1.2 2001/08/21 21:16:53 mdb Exp $ package com.threerings.cocktail.cher.dobj.io; @@ -32,6 +32,7 @@ public class ElementUtil _dout.flush(); out.writeInt(_bout.size()); _bout.writeTo(out); + _bout.reset(); } /**