diff --git a/src/main/java/org/libj/io/ReaderInputStream.java b/src/main/java/org/libj/io/ReaderInputStream.java index 80cc693..64ce2a0 100644 --- a/src/main/java/org/libj/io/ReaderInputStream.java +++ b/src/main/java/org/libj/io/ReaderInputStream.java @@ -230,7 +230,7 @@ private void fillBuffer() throws IOException { */ @Override public int read(final byte[] b, int off, int len) throws IOException { - Assertions.assertBoundsOffsetCount(b.length, off, len, "length", "off", "len"); + Assertions.assertBoundsOffsetCount("b.length", b.length, "off", off, "len", len); if (len == 0) return 0;