830 B
830 B
Reuters WNE Packet Format
Format is little endian.
Common bytes:
- Byte 0: always 0x00
- Byte 1: "Packet family", always 0x01, 0x03 or 0xff
- Bytes 2-3: Packet length
- Bytes 4-7: Session ID. This changes for every news story.
A/V File Payloads:
- Byte 1: always 0x01
- Bytes 8-11: Block number, always incremented by 1 each packet.
- Bytes 12-15: always 0x00000000
- Bytes 16-end: payload
A/V File announcement:
- Byte 1: always 0x03
- Bytes 8-11: ???
- Bytes 12-13: Packet length, minus header (16) minus 8.
Metadata File Payloads:
-Bytes 16-end: payload
Metadata file announcement:
- Bytes 12-13: ???
- Bytes 14-15: (uint16) Packet length minus 15
- Bytes 16-17: always seems to be 0x0003
- Bytes 18-19: (uint16) Always seems to be the value of bytes 14-15 minus one.