public static void Write(ByteArrayBuffer buffer, Db4objects.Db4o.Internal.TreeInt tree, int size) { if (tree == null) { buffer.WriteInt(0); return; } buffer.WriteInt(size); tree.Traverse(new _IVisitor4_97(buffer)); }