Expose idBuffer,idOffset in AbstractTreeIterator to applications
Application code needs to be able to efficiently copy an id from
an iterator's current position to some buffer, such as in the
index file or a tree object, or any other data structure. Doing
a conversion to ObjectId and then back again to the raw byte form
is less efficient than just copying the bytes between two arrays.
So these methods must be public for performance reasons, even if
it makes the object API slightly more obtuse. Besides we still
have getEntryObjectId should applications prefer that approach
and they don't need the performance.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com>