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: src/main/java/org/apache/commons/codec/binary/Base16.java
+27-30Lines changed: 27 additions & 30 deletions
Original file line number
Diff line number
Diff line change
@@ -26,15 +26,12 @@
26
26
* This class is thread-safe.
27
27
* </p>
28
28
* <p>
29
-
* This implementation strictly follows RFC 4648, and as such unlike
30
-
* the {@link Base32} and {@link Base64} implementations,
31
-
* it does not ignore invalid alphabet characters or whitespace,
32
-
* neither does it offer chunking or padding characters.
29
+
* This implementation strictly follows RFC 4648, and as such unlike the {@link Base32} and {@link Base64} implementations, it does not ignore invalid alphabet
30
+
* characters or whitespace, neither does it offer chunking or padding characters.
33
31
* </p>
34
32
* <p>
35
-
* The only additional feature above those specified in RFC 4648
36
-
* is support for working with a lower-case alphabet in addition
37
-
* to the default upper-case alphabet.
33
+
* The only additional feature above those specified in RFC 4648 is support for working with a lower-case alphabet in addition to the default upper-case
34
+
* alphabet.
38
35
* </p>
39
36
*
40
37
* @see <a href="https://tools.ietf.org/html/rfc4648#section-8">RFC 4648 - 8. Base 16 Encoding</a>
@@ -44,19 +41,17 @@
44
41
publicclassBase16extendsBaseNCodec {
45
42
46
43
/**
47
-
* BASE16 characters are 4 bits in length.
48
-
* They are formed by taking an 8-bit group,
49
-
* which is converted into two BASE16 characters.
44
+
* BASE16 characters are 4 bits in length. They are formed by taking an 8-bit group, which is converted into two BASE16 characters.
* This array is a lookup table that translates Unicode characters drawn from the "Base16 Alphabet" (as specified
57
-
* in Table 5 of RFC 4648) into their 4-bit positive integer equivalents. Characters that are not in the Base16
58
-
* alphabet but fall within the bounds of the array are translated to -1.
51
+
* This array is a lookup table that translates Unicode characters drawn from the "Base16 Alphabet" (as specified in Table 5 of RFC 4648) into their 4-bit
52
+
* positive integer equivalents. Characters that are not in the Base16 alphabet but fall within the bounds of the array are translated to -1.
* This array is a lookup table that translates 4-bit positive integer index values into their "Base16 Alphabet"
71
-
* equivalents as specified in Table 5 of RFC 4648.
66
+
* This array is a lookup table that translates 4-bit positive integer index values into their "Base16 Alphabet" equivalents as specified in Table 5 of RFC
0 commit comments