maginatics/guava-libraries — pull request #2 by andrewgaul (2013-08-22 04:44:03+00:00)
Title: Add ByteStreams.zeroInputStream

This creates an infinite-length InputStream which returns zero bytes.
Combined with ByteStreams.limit this can create large input for tests
without consuming large amounts of memory.