(String sToConvert)
Method prettyPrintHex

Parameters:
sToConvert - string to convert
Returns:
hexdump string

setWithByteSeparator

public static void setWithByteSeparator(boolean bs)
Sets the WithByteSeparator attribute of the Convert class

Parameters:
bs - The new WithByteSeparator value

setByteSeparator

public static void setByteSeparator(char bs)
Sets the ByteSeparator attribute of the Convert class

Parameters:
bs - The new ByteSeparator value

setBitDigits

public static void setBitDigits(char[] bd)
                         throws Exception
Sets the BitDigits attribute of the Convert class

Parameters:
bd - The new BitDigits value
Throws:
Exception - Description of Exception

setBitDigits

public static void setBitDigits(char zeroBit,
                                char oneBit)
Method setBitDigits

Parameters:
zeroBit - zero bit
oneBit - one bit param redFish red fish param blueFish blue fish

byteArrayToBinaryString

public static String byteArrayToBinaryString(byte[] block)
Description of the Method

Parameters:
block - Description of Parameter
Returns:
Description of the Returned Value

toBinaryString

public static String toBinaryString(byte[] ba)
Method toBinaryString

Parameters:
ba - binary array
Returns:
the binary representation of the byte array

toBinaryString

public static String toBinaryString(byte b)
Method toBinaryString

Parameters:
b - byte array
Returns:
the binary representation of the byte

toBinaryString

public static String toBinaryString(short s)
Method toBinaryString

Parameters:
s - short
Returns:
the binary representation of the short

toBinaryString

public static String toBinaryString(int i)
Method toBinaryString

Parameters:
i - integer
Returns:
the binary representation of the int

toBinaryString

public static String toBinaryString(long l)
Method toBinaryString

Parameters:
l - long
Returns:
the binary representation of the long

toByteArray

public static final byte[] toByteArray(short s)
Method toByteArray

Parameters:
s - short
Returns:
the short as array of bytes

toByteArray

public static final byte[] toByteArray(int i)
Method toByteArray

Parameters:
i - int
Returns:
the int as array of bytes

toByteArray

public static final byte[] toByteArray(long l)
Method toByteArray

Parameters:
l - long
Returns:
the long as