You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: jbbp/src/main/java/com/igormaznitsa/jbbp/io/JBBPBitInputStream.java
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -269,9 +269,9 @@ public int read(final byte[] array, final int offset, final int length) throws I
269
269
* blocks until some input is available; otherwise, no
270
270
* bytes are read and {@code 0} is returned.
271
271
*
272
-
* @param array target array
273
-
* @param offset offset in the target array
274
-
* @param length the length of data portion to be read
272
+
* @param array target array
273
+
* @param offset offset in the target array
274
+
* @param length the length of data portion to be read
275
275
* @param enablePartialBitsOnEOF if true then already accumulated partly read bit field data returned in case EOF, -1 otherwise.
276
276
* @return number of read bytes from the wrapped input stream
277
277
* @throws IOException thrown if any transport error
@@ -1048,7 +1048,7 @@ public int readBits(final JBBPBitNumber numOfBitsToRead) throws IOException {
1048
1048
* since 0 bit and make reversion to return bits in the order according the thread mode.
1049
1049
* Behaviour in case of missing bit data can be tuned by the special argument flag and if it is true then -1 returned otherwise current accumulated bit data returned.
1050
1050
*
1051
-
* @param numOfBitsToRead the number of bits to be read, must be 1..8
1051
+
* @param numOfBitsToRead the number of bits to be read, must be 1..8
1052
1052
* @param enablePartialBitsOnEOF if true then already accumulated partly read bit field data returned in case EOF, -1 otherwise.
1053
1053
* @return the read bits as integer, -1 if the end of stream has been reached or if allowed end of stream flag and not all bits read.
1054
1054
* @throws IOException it will be thrown for transport errors to be read
@@ -1073,7 +1073,7 @@ public int readBits(final JBBPBitNumber numOfBitsToRead,
1073
1073
if (numOfBitsAsNumber == this.bitsInBuffer) {
1074
1074
result = this.bitBuffer;
1075
1075
if (this.bitOrderMode == JBBPBitOrder.MSB0_DIRECT) {
0 commit comments