public class UnicodeHelper
extends java.lang.Object
Constructor and Description |
---|
UnicodeHelper() |
Modifier and Type | Method and Description |
---|---|
static boolean |
inferCharset(byte[] bytes,
int bytesRead,
java.nio.charset.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, java.nio.charset.Charset clientCharset)
Copyright © 2018 Perforce Software. All Rights Reserved.