Converts char array to byte array using default Jodd encoding.
(char[] carr)
| 129 | * Converts char array to byte array using default Jodd encoding. |
| 130 | */ |
| 131 | public final static byte[] toByteArray(char[] carr) throws UnsupportedEncodingException { |
| 132 | return new String(carr).getBytes(Opslab.UTF_8); |
| 133 | } |
| 134 | |
| 135 | /** |
| 136 | * Converts char array to byte array using provided encoding. |
no outgoing calls
no test coverage detected