}</pre><BR>It reads the input string four characters at a time, converting it to an integer. It then converts this number to 3-digit hex number, and buffers it. At the end, it trims the leading zeros ...