Add support to ObjectId for copying raw bytes to a byte[]
commit470e61609717edfe2527e97997172b6ccabee060
authorShawn O. Pearce <spearce@spearce.org>
Wed, 2 Apr 2008 03:18:25 +0000 (1 23:18 -0400)
committerShawn O. Pearce <spearce@spearce.org>
Mon, 7 Apr 2008 05:06:38 +0000 (7 01:06 -0400)
treebb4a18faaddc8df54799222c9bbf5ac2c1a491f6
parentd928edf4248b67aee8507b311ae252679a05345b
Add support to ObjectId for copying raw bytes to a byte[]

By copying into a byte array callers may be able to pool writing
the object id with other writes, or at least batch together all
of the virtual method calls to OutputStream.write into a single
method call.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
org.spearce.jgit/src/org/spearce/jgit/lib/AnyObjectId.java