Package com.cedarsoftware.util
Class ByteUtilities
java.lang.Object
com.cedarsoftware.util.ByteUtilities
-
Method Summary
-
Method Details
-
decode
-
encode
Convert a byte array into a printable format containing a String of hex digit characters (two per byte).- Parameters:
bytes
- array representation- Returns:
- String hex digits
-
isGzipped
public static boolean isGzipped(byte[] bytes) - Parameters:
bytes
- byte[] of bytes to test- Returns:
- true if bytes are gzip compressed, false otherwise.
-