| ID 1B - Simple Generalized Data Block |
| length: [00,01,02,03]+04 |
| Offset |
Value |
Type |
Description |
| 0x00 |
- |
DWORD |
Block length (without these four bytes) |
| 0x04 |
- |
WORD |
Pause after this block (ms) |
| 0x06 |
B |
DWORD |
Number of bits in the data stream. |
| 0x0A |
P0 |
WORD |
Number of pulses used to encode bit 0. |
| 0x0C |
P1 |
WORD |
Number of pulses used to encode bit 1.
|
| 0x0E |
S0 |
WORD[P0] |
Array of pulse durations representing bit 0.
|
| 0x0E+2*P0 |
S1 |
WORD[P1] |
Array of pulse durations representing bit 1.
|
| 0x0E+2*(P0+P1) |
- |
BYTE[ceil(B/8)] |
Data stream |