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