public class ByteScanner extends Object
Constructor and Description |
---|
ByteScanner() |
Modifier and Type | Method and Description |
---|---|
static void |
encodeByteIntoTwoAsciiCharBytes(int decoded,
byte[] encoded)
Turn a single bytes into two hex character representation.
|
protected static int |
encodeNibbleToHexAsciiCharByte(int nibble)
Turns a single nibble into an ascii HEX digit.
|
protected static int encodeNibbleToHexAsciiCharByte(int nibble)
nibble
- the nibble to serializeObject.public static void encodeByteIntoTwoAsciiCharBytes(int decoded, byte[] encoded)
decoded
- the byte to serializeObject.encoded
- the array to which each encoded nibbles are now ascii hex representations.