public static void Write(ByteArrayBuffer buffer, Db4objects.Db4o.Internal.TreeInt tree) { Write(buffer, tree, tree == null ? 0 : tree.Size()); }