public class UnicodeHelper extends Object
Constructor and Description |
---|
UnicodeHelper() |
Modifier and Type | Method and Description |
---|---|
static boolean |
inferCharset(byte[] bytes,
int bytesRead,
Charset clientCharset)
Try to determine whether a byte buffer's character encoding is that of the
passed-in charset.
|
public static boolean inferCharset(byte[] bytes, int bytesRead, Charset clientCharset)
Copyright © 2017 Perforce Software. All Rights Reserved.