Teach RawParseUtil how to format base 10 numbers it reads
commita6901893ab4d5a62830207873817f48474d9e249
authorShawn O. Pearce <spearce@spearce.org>
Wed, 2 Apr 2008 03:19:44 +0000 (1 23:19 -0400)
committerShawn O. Pearce <spearce@spearce.org>
Mon, 7 Apr 2008 05:06:39 +0000 (7 01:06 -0400)
tree47d16f68975b75171c69a69897aab33246b512e2
parent470e61609717edfe2527e97997172b6ccabee060
Teach RawParseUtil how to format base 10 numbers it reads

In some file formats we need to be able to efficiently produce a
base 10 numeric in a byte[], much as how we need to parse those
through RawParseUtil.parseBase10.

For efficiency reasons we write backwards into the passed buffer,
making it necessary for the caller to produce the output in the
reverse order that it would parse the input with.

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