public final class BytesDecoder extends Object
| Constructor and Description |
|---|
BytesDecoder() |
| Modifier and Type | Method and Description |
|---|---|
static String |
guessEncoding(byte[] bytes)
This method attempts to detect the encoding type of the byte array
being passed to it.
|
static String[] |
toLines(byte[] bytes) |
public static String guessEncoding(byte[] bytes)
public static String[] toLines(byte[] bytes) throws UnsupportedEncodingException
UnsupportedEncodingExceptionCopyright © 2023 CDAP Licensed under the Apache License, Version 2.0.