tips:java:zeropaddedhex
                Quickly convert a char to a zero padded hex string
Integer.toHexString(0x100 | (int) '\f').substring(1).toUpperCase(); // '\f' (linefeed) is '0C' in hex
tips/java/zeropaddedhex.txt · Last modified:  by erik
                
                Integer.toHexString(0x100 | (int) '\f').substring(1).toUpperCase(); // '\f' (linefeed) is '0C' in hex