public class StringUtils extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static byte[] |
toByteArray(java.lang.String s)
Converts the specified string to a byte array.
|
public static byte[] toByteArray(java.lang.String s)
s
- The input string to convert. Must be UTF-8 encoded and not
null
.Copyright © 2014 Connect2id Ltd.. All Rights Reserved.