@param s The input string @return A byte array corresponding to the given String. The encoding used is obtained from #getDefaultStringEncoding().
(String s)
| 930 | * used is obtained from {@link #getDefaultStringEncoding()}. |
| 931 | */ |
| 932 | static byte[] getBytes(String s) { |
| 933 | return getBytes(s, getDefaultStringEncoding()); |
| 934 | } |
| 935 | |
| 936 | /** |
| 937 | * @param s The string. Must not be {@code null}. |