Repository navigation
Long Type modifier and Byte Casting
This version adds the ability to cast data back to bytes under b mode. It also adds the l modifier for dealing with long types (e.g. long int and double
| Format | Data Type |
|---|---|
| i | 32-bit int |
| h | 16-bit int |
| f | 32-bit float |
| s | ASCII string (greedy) |
| b | byte output |
| Modifier | Effect |
|---|---|
u |
unsigned (i and h only) |
l |
long type, i: int64 f: double |
> |
Big endian (append) |
< |
Little endian (append) |