Skip to content
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ protected void encode(final byte[] string, final int len) {
/**
* <p>Fastest way to get bytes from an ASCII String.</p>
* <p>If {@code string} is null, returns null.</p>
* <p>This method effectively do: {@code string.getBytes(ISO_8859_1)}<br/>
* <p>This method effectively does: {@code string.getBytes(ISO_8859_1)}<br/>
* <a href="https://cl4es.github.io/2021/02/23/Faster-Charset-Decoding.html">To understand why, click here.</a></p>
* @param string The target string.
* @return The resultant byte array.
Expand All @@ -125,7 +125,7 @@ public static byte[] getBytes(final String string) {
/**
* <p>Fastest way to create an ASCII String from a byte array.</p>
* <p>If {@code bytes} is null, returns null.</p>
* <p>This method effectively do: {@code new String(bytes, ISO_8859_1)}<br/>
* <p>This method effectively does: {@code new String(bytes, ISO_8859_1)}<br/>
* <a href="https://cl4es.github.io/2021/10/17/Faster-Charset-Encoding.html">To understand why, click here.</a></p>
* @param bytes String bytes.
* @return The resultant String.
Expand Down