@@ -233,7 +233,7 @@ public String toString() {
233233 }
234234
235235 /**
236- * EOF
236+ * End-of-file marker.
237237 *
238238 * @since 1.7
239239 */
@@ -293,6 +293,7 @@ public String toString() {
293293
294294 /**
295295 * The default decoding policy.
296+ *
296297 * @since 1.15
297298 */
298299 protected static final CodecPolicy DECODING_POLICY_DEFAULT = CodecPolicy .LENIENT ;
@@ -342,8 +343,8 @@ public static byte[] getChunkSeparator() {
342343
343344 /**
344345 * Checks if a byte value is whitespace or not.
345- * @param byteToCheck
346- * the byte to check
346+ *
347+ * @param byteToCheck the byte to check
347348 * @return true if byte is whitespace, false otherwise
348349 * @see Character#isWhitespace(int)
349350 * @deprecated Use {@link Character#isWhitespace(int)}.
@@ -355,6 +356,7 @@ protected static boolean isWhiteSpace(final byte byteToCheck) {
355356
356357 /**
357358 * Increases our buffer by the {@link #DEFAULT_BUFFER_RESIZE_FACTOR}.
359+ *
358360 * @param context the context to be used
359361 * @param minCapacity the minimum required capacity
360362 * @return the resized byte[] buffer
@@ -667,7 +669,7 @@ public String encodeToString(final byte[] pArray) {
667669 }
668670
669671 /**
670- * Ensure that the buffer has room for {@code size} bytes
672+ * Ensures that the buffer has room for {@code size} bytes
671673 *
672674 * @param size minimum spare space required
673675 * @param context the context to be used
@@ -687,7 +689,7 @@ protected byte[] ensureBufferSize(final int size, final Context context) {
687689 }
688690
689691 /**
690- * Returns the decoding behavior policy.
692+ * Gets the decoding behavior policy.
691693 *
692694 * <p>
693695 * The default is lenient. If the decoding policy is strict, then decoding will raise an
@@ -712,7 +714,7 @@ protected int getDefaultBufferSize() {
712714 }
713715
714716 /**
715- * Calculates the amount of space needed to encode the supplied array.
717+ * Gets the amount of space needed to encode the supplied array.
716718 *
717719 * @param pArray byte[] array which will later be encoded
718720 * @return amount of space needed to encode the supplied array.
@@ -730,7 +732,7 @@ public long getEncodedLength(final byte[] pArray) {
730732 }
731733
732734 /**
733- * Returns true if this object has buffered data for reading.
735+ * Tests whether this object has buffered data for reading.
734736 *
735737 * @param context the context to be used
736738 * @return true if there is data still available for reading.
@@ -740,7 +742,7 @@ boolean hasData(final Context context) { // package protected for access from I
740742 }
741743
742744 /**
743- * Returns whether or not the {@code octet} is in the current alphabet.
745+ * Tests whether or not the {@code octet} is in the current alphabet.
744746 * Does not allow whitespace or pad.
745747 *
746748 * @param value The value to test
@@ -780,7 +782,7 @@ public boolean isInAlphabet(final String basen) {
780782 }
781783
782784 /**
783- * Returns true if decoding behavior is strict. Decoding will raise an {@link IllegalArgumentException} if trailing
785+ * Tests true if decoding behavior is strict. Decoding will raise an {@link IllegalArgumentException} if trailing
784786 * bits are not part of a valid encoding.
785787 *
786788 * <p>
@@ -796,7 +798,7 @@ public boolean isStrictDecoding() {
796798 }
797799
798800 /**
799- * Extracts buffered data into the provided byte[] array, starting at position bPos, up to a maximum of bAvail
801+ * Reads buffered data into the provided byte[] array, starting at position bPos, up to a maximum of bAvail
800802 * bytes. Returns how many bytes were actually extracted.
801803 * <p>
802804 * Package private for access from I/O streams.
0 commit comments