Revert "Update ByteStream.java"

This reverts commit 06c0ae52c9853a6e32de68c2762cb98d82851d6a.