The Base Converter


A.X.E.'s handy base converter allows you to see data quickly in any form.


The base converter is pretty easy to use. Whatever field you type in, the other fields will be updated as you type to show what you've typed as one of 10 types. The numerical types interpret a fixed number of bytes beginning at the beginning of whatever you typed; that's why in the picture above, the Byte field shows '97', an interpretation of the first byte that was typed in the Hex field.

The C-Style String field allows you to see how the bytes you've typed can be represented as a string in a C program (and to type characters such as a linefeed).

The base converter uses the same code that is used to display and edit structures throughout the rest of A.X.E. (In fact, it *is* just an A.X.E. document displayed differently. Code reuse and all that.) and the same notes therefore apply, i.e. that actual interpretation of bytes as characters can depend not only on your character set options but on the O.S.

The Signed and Motorola checkboxes affect only the integer types.

The Binary field shows you what you last typed into one of the other fields as binary bits. It is not editable.