Interchange File Format types - operator1/op1 GitHub Wiki
As per the Audio IFF spec, here is a reference of the types that are used:
Type | Description |
---|---|
char | 8 bits, signed. A char can contain more than just ASCII characters. It can contain any number from -128 to 127 (inclusive). |
unsigned char | 8 bits, unsigned. Contains any number from zero to 255 (inclusive). |
short | 16 bits, signed. Contains any number from -32,768 to 32,767 (inclusive). |
unsigned short | 16 bits, unsigned. Contains any number from zero to 65,535 (inclusive). |
long | 32 bits, signed. Contains any number from -2,147,483,648 to 2,147,483,647 (inclusive). |
unsigned long | 32 bits, unsigned. Contains any number from zero to 4,294,967,295 (inclusive). |
extended | 80 bit IEEE Standard 754 floating point number (Standard Apple Numeric Environment [SANE] data type Extended). |
pstring | Pascal-style string, a one byte count followed by text bytes. The total number of bytes in this data type should be even. A pad byte can be added at the end of the text to accomplish this. This pad byte is not reflected in the count. |
ID | 32 bits, the concatenation of four printable ASCII character in the range ' ' (SP, 0x20) through '~' (0x7E). Spaces (0x20) cannot precede printing characters; trailing spaces are allowed. Control characters are forbidden. |
OSType | 32 bits. A concatenation of four characters, as defined in Inside Macintosh, vol II. |