code: static public void appendHexString(StringBuilder buffer, byte value) {
          assertNotNull(buffer);
          int nibble = (value & 0xF0) >>> 4;
          buffer.append(HEX_TABLE[nibble]);
          nibble = (value & 0x0F);
          buffer.append(HEX_TABLE[nibble]);
      }
docs: Appends 2 characters to a StringBuilder with the byte in a "Big Endian"
  hexidecimal format. For example, a byte 0x34 will be appended as a
  String in format "34".  A byte of value 0 will be appended as "00".
  @param buffer The StringBuilder the byte value in hexidecimal format
  will be appended to.  If the buffer is null, this method will throw
  a NullPointerException.
  @param value The byte value that will be converted to a hexidecimal String.