
HexBinDec Conversion
November 10, 2009
I often see guys still using windows calculator to do Hex 2 Binary 2 Decimal conversions for Port numbers, Protocol numbers, DSCP values etc…
I have been using a small utility for years and have not yet come across a better one.
It was written by Live Bat Programming Group, I can’t find an official website only an email address : dagus2@geocities.com (not sure if it is still valid).
It is called HEXBINDEC (descriptive I know):
Why is this little app so useful ?? Because it converts as you type, and you can change the values really quickly making conversions very fast and pleasant.
Example to work out the TOS-Byte HEX value (8-bits) of Voice Traffic (EF):
- Enter the (6-bits) DSCP Decimal value of EF = 46 in the Decimal Colomn.
- In the binary colomn, remove the front(left) 2 zeros since they are not needed and add 2 zeros at the back(right) to convert to the 8-bits needed and,
- You get a value of B8 to be used with Cache Flows. (Not following?? refer to this article).
Feel free to download HEXBINDEC here.
