Basic Structure Data Types
Hex Workshop supports a limited number of atomic data types. For added flexibility, users may define their own data type definitions that resolve to one of the corresponding data types listed below:
Type |
Aliases |
Size (bits) |
Signed |
Comment |
|
|
|
|
|
bool |
|
8 |
Unsigned |
|
|
|
|
|
|
char |
signed char |
8 |
Signed |
Treated as String in arrays |
unsigned char |
|
8 |
Unsigned |
|
|
|
|
|
|
__int8 |
signed __int8 |
8 |
Signed |
|
unsigned __int8 |
|
8 |
Unsigned |
|
|
|
|
|
|
__int16 |
signed __int16 short |
16 |
Signed |
|
unsigned __int16 |
unsigned short |
16 |
Unsigned |
|
|
|
|
|
|
__int32 |
signed __int32 int long |
32 |
Signed |
|
unsigned __int32 |
unsigned int unsigned long |
32 |
Unsigned |
|
|
|
|
|
|
__int64 |
signed __int64 |
64 |
Signed |
|
unsigned _int64 |
|
64 |
Unsigned |
|
|
|
|
|
|
float |
|
16 |
N/A |
|
double |
|
32 |
N/A |
|
|
|
|
|
|
DATE |
|
64 |
N/A |
Microsoft OLE Date/Time structure. |
DOSDATE |
|
16 |
N/A |
MS-DOS style time. |
DOSTIME |
|
16 |
N/A |
MS-DOS date time. |
FILETIME |
|
64 |
N/A |
Window FILETIME structure. |
time_t |
|
32 |
N/A |
ANSI C time_t structure. |
|
|
|
|
|
zstring |
|
variable |
N/A |
Zero-terminated string |
See also Structure Viewer Overview, Adding a Structure, Removing a Structure and Defining a Structure..