Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/main/java/org/apache/commons/codec/binary/Base16.java
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
import org.apache.commons.codec.CodecPolicy;

/**
* Provides Base32 encoding and decoding as defined by <a href="https://tools.ietf.org/html/rfc4648#section-8">RFC 4648 - 8. Base 16 Encoding</a>.
* Provides Base16 encoding and decoding as defined by <a href="https://tools.ietf.org/html/rfc4648#section-8">RFC 4648 - 8. Base 16 Encoding</a>.
*
* <p>
* This class is thread-safe.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@
import org.apache.commons.codec.CodecPolicy;

/**
* Provides Hex encoding in a streaming fashion (unlimited size).
* Provides Base16 encoding in a streaming fashion (unlimited size).
* <p>
* The default behavior of the HexOutputStream is to ENCODE, whereas the default behavior of the
* The default behavior of the Base16OutputStream is to ENCODE, whereas the default behavior of the
* {@link Base16InputStream} is to DECODE. But this behavior can be overridden by using a different constructor.
* </p>
*
Expand All @@ -33,7 +33,7 @@
public class Base16OutputStream extends BaseNCodecOutputStream {

/**
* Constructs a Base16OutputStream such that all data written is Hex-encoded to the original provided OutputStream.
* Constructs a Base16OutputStream such that all data written is Base16-encoded to the original provided OutputStream.
*
* @param outputStream OutputStream to wrap.
*/
Expand All @@ -42,7 +42,7 @@ public Base16OutputStream(final OutputStream outputStream) {
}

/**
* Constructs a Base16OutputStream such that all data written is either Hex-encoded or Hex-decoded to the
* Constructs a Base16OutputStream such that all data written is either Base16-encoded or Base16-decoded to the
* original provided OutputStream.
*
* @param outputStream OutputStream to wrap.
Expand All @@ -53,7 +53,7 @@ public Base16OutputStream(final OutputStream outputStream, final boolean doEncod
}

/**
* Constructs a Base16OutputStream such that all data written is either Hex-encoded or Hex-decoded to the
* Constructs a Base16OutputStream such that all data written is either Base16-encoded or Base16-decoded to the
* original provided OutputStream.
*
* @param outputStream OutputStream to wrap.
Expand All @@ -65,7 +65,7 @@ public Base16OutputStream(final OutputStream outputStream, final boolean doEncod
}

/**
* Constructs a Base16OutputStream such that all data written is either Hex-encoded or Hex-decoded to the
* Constructs a Base16OutputStream such that all data written is either Base16-encoded or Base16-decoded to the
* original provided OutputStream.
*
* @param outputStream OutputStream to wrap.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@
*/

/**
* Base64, Base32, Binary, and Hexadecimal String encoding and decoding.
* Base64, Base32, Base16, BaseN, Binary, and Hexadecimal String encoding and decoding.
*/
package org.apache.commons.codec.binary;