KDXTransactionFields: Difference between revisions
From Hotline Wiki
Created page with "==Primitive types== {| class="wikitable" ! Type !! Size !! Description |- | pstr || varies || A string prefixed by 1 byte denoting its length |- | u8 || 1 || unsigned byte |- | u32be || 4 || 32 bit big endian unsigned integer |- | u64be || 8 || 64 bit big endian unsigned integer |} ==Download Info== {| class="wikitable" ! Offset !! Type !! Description |- | 0 || u32be || Data fork resume total size (high) |- | 4 || u32be || Data fork resume total size (low) |- | 8 || u32b..." |
|||
| (2 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
=Fundamental Types= | |||
==Primitive types== | ==Primitive types== | ||
{| class="wikitable" | {| class="wikitable" | ||
| Line 11: | Line 12: | ||
| u64be || 8 || 64 bit big endian unsigned integer | | u64be || 8 || 64 bit big endian unsigned integer | ||
|} | |} | ||
== | ==Data Size== | ||
{| class="wikitable" | {| class="wikitable" | ||
! Offset !! Type !! Description | ! Offset !! Type !! Description | ||
|- | |- | ||
| 0 || u32be || | | 0 || u32be || Total size (high) | ||
|- | |- | ||
| 4 || u32be || | | 4 || u32be || Total size (low) | ||
|} | |||
=Transaction Field Types= | |||
==Download Info== | |||
{| class="wikitable" | |||
! Offset !! Type !! Description | |||
|- | |- | ||
| | | 0 || Data Size || Data fork size | ||
|- | |- | ||
| | | 8 || Data Size || Mac resource fork resume size | ||
|- | |- | ||
| 16 || u64be || Created timestamp | | 16 || u64be || Created timestamp | ||
| Line 45: | Line 51: | ||
| || pstr || Type string | | || pstr || Type string | ||
|} | |} | ||
==Download Request== | ==Download Request== | ||
{| class="wikitable" | {| class="wikitable" | ||
! Offset !! Type !! Description | ! Offset !! Type !! Description | ||
|- | |- | ||
| 0 | | 0 || Data Size || Data resume offset | ||
|- | |- | ||
| | | 8 || Data Size || Mac resource fork resume offset | ||
|- | |- | ||
| 16 || ? || flags and options? | | 16 || ? || flags and options? | ||
Latest revision as of 00:18, 11 June 2026
Fundamental Types
Primitive types
| Type | Size | Description |
|---|---|---|
| pstr | varies | A string prefixed by 1 byte denoting its length |
| u8 | 1 | unsigned byte |
| u32be | 4 | 32 bit big endian unsigned integer |
| u64be | 8 | 64 bit big endian unsigned integer |
Data Size
| Offset | Type | Description |
|---|---|---|
| 0 | u32be | Total size (high) |
| 4 | u32be | Total size (low) |
Transaction Field Types
Download Info
| Offset | Type | Description |
|---|---|---|
| 0 | Data Size | Data fork size |
| 8 | Data Size | Mac resource fork resume size |
| 16 | u64be | Created timestamp |
| 24 | u64be | Modified timestamp |
| 32 | u64be | timestamp? |
| 40 | u64be | timestamp? |
| 48 | ? | ? |
| 77 | u8 | File name length |
| 78 | u8 | Comment length |
| 79 | u8 | Type string length |
| 80 | pstr | File name |
| pstr | Comment | |
| pstr | Type string |
Download Request
| Offset | Type | Description |
|---|---|---|
| 0 | Data Size | Data resume offset |
| 8 | Data Size | Mac resource fork resume offset |
| 16 | ? | flags and options? |
| 23 | u8 | Fork selector (0 = data only, 1 = data + Mac resource) |
| 24 | pstr | File path |