public class UnsafeStringUtils extends Object
| Constructor and Description |
|---|
UnsafeStringUtils() |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
getLatin1Bytes(String str)
unsafe, do not change the return bytes
|
static byte[] |
getUTF8Bytes(String str)
unsafe, do not change the return bytes
|
static boolean |
isLatin1(String str) |
static String |
toLatin1String(byte[] bytes)
very unsafe
|
public static boolean isLatin1(String str)
public static byte[] getUTF8Bytes(String str)
public static byte[] getLatin1Bytes(String str)
public static String toLatin1String(byte[] bytes)
Copyright © 2019. All rights reserved.