Specialized byte array output stream for large files
commit612f0678fc23d71cb380b35ff352b33570582fa2
authorShawn O. Pearce <spearce@spearce.org>
Sun, 29 Jun 2008 07:59:25 +0000 (29 03:59 -0400)
committerRobin Rosenberg <robin.rosenberg@dewire.com>
Mon, 30 Jun 2008 22:46:22 +0000 (1 00:46 +0200)
treeccc139ba0cae8fb9dbfa6f0316e1f13d396780fa
parent1c5c9ac99cf6ab76a87f51f73dfe0b391539a420
Specialized byte array output stream for large files

Some transports may require that we know the total byte count (and
perhaps MD5 checksum) of a pack file before we can send it to the
transport during a push operation.  Materializing the pack locally
prior to transfer can be somewhat costly, but may be able to be in
core for very small packs.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com>
org.spearce.jgit/src/org/spearce/jgit/util/TemporaryBuffer.java [new file with mode: 0644]