public final class Binary extends Object
© Devmel SDK (java) ©
Constructor and Description |
---|
Binary() |
Modifier and Type | Method and Description |
---|---|
static String |
fromBytes(byte[] src)
Returns the byte array as binary string presentation
|
static boolean |
is(String src)
Utility routine to check if the string is binary
|
static byte[] |
toBytes(String src)
Returns the binary string as byte array
|
public static String fromBytes(byte[] src)
src
- the raw byte arraypublic static boolean is(String src)
src
- the binary string presentationboolean
indicating whether src is binarypublic static byte[] toBytes(String src)
src
- the binary string presentation