BAEL-4010 Add test for InputStream.readAllBytes() (#9265)

* BAEL-4010 Add test for InputStream.readAllBytes()

* BAEL-4010 Refactor: Move "InputStream to Bytes" to Java 9 specific module

The issue BAEL-4010 introduces a new example to the article "Java
InputStream to Byte Array and ByteBuffer". The example is about
  byte[] InputStream.readAllBytes()
which was added with Java 9.

To be consistent, all examples for this article were moved to a module
which is compiled with at least Java 9.
This commit is contained in:
Roland Weisleder
2020-05-19 22:24:05 +02:00
committed by GitHub
parent 01f9b06656
commit 2ce056b0f2
6 changed files with 64 additions and 39 deletions

View File

@@ -4,6 +4,5 @@ This module contains articles about core Java input/output(IO) conversions.
### Relevant Articles:
- [Java InputStream to String](https://www.baeldung.com/convert-input-stream-to-string)
- [Java InputStream to Byte Array and ByteBuffer](https://www.baeldung.com/convert-input-stream-to-array-of-bytes)
- [Java Write an InputStream to a File](https://www.baeldung.com/convert-input-stream-to-a-file)
- More articles: [[<-- prev]](/core-java-modules/core-java-io-conversions)