- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for testToByteArray_withSize_givenSizeTwoSmallerThanActual (2.4 sec)
-
android/guava-tests/test/com/google/common/io/ByteStreamsTest.java
byte[] b = ByteStreams.toByteArray(in, 99); assertThat(b).isEqualTo(PRE_FILLED_100); } public void testToByteArray_withSize_givenSizeTwoSmallerThanActual() throws IOException { InputStream in = new ByteArrayInputStream(PRE_FILLED_100); byte[] b = ByteStreams.toByteArray(in, 98); assertThat(b).isEqualTo(PRE_FILLED_100); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 21.9K bytes - Viewed (0)