Some formatting love, from the futuristic world of 100 column code.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5349 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Ray Greenwell
2008-09-04 00:48:46 +00:00
parent 7e7e7893d6
commit 2be1dc747d
8 changed files with 16 additions and 32 deletions
@@ -44,16 +44,14 @@ public class ByteArrayStreamer extends Streamer
return bytes;
}
override public function writeObject (obj :Object, out :ObjectOutputStream)
:void
override public function writeObject (obj :Object, out :ObjectOutputStream) :void
{
var bytes :ByteArray = (obj as ByteArray);
out.writeInt(bytes.length);
out.writeBytes(bytes);
}
override public function readObject (obj :Object, ins :ObjectInputStream)
:void
override public function readObject (obj :Object, ins :ObjectInputStream) :void
{
var bytes :ByteArray = (obj as ByteArray);
ins.readBytes(bytes, 0, bytes.length);