public final class ByteUtilities extends Object
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
decode(String s) |
static String |
encode(byte[] bytes)
Convert a byte array into a printable format containing a String of hex
digit characters (two per byte).
|
static boolean |
isGzipped(byte[] bytes) |
public static byte[] decode(String s)
public static String encode(byte[] bytes)
bytes - array representationpublic static boolean isGzipped(byte[] bytes)
bytes - byte[] of bytes to testCopyright © 2016. All rights reserved.