KDXTransactionFields: Difference between revisions

From Hotline Wiki

Schala (talk | contribs)
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..."
 
Schala (talk | contribs)
No edit summary
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
|}
|}
==Download Info==
==Data Size==
{| class="wikitable"
{| class="wikitable"
! Offset !! Type !! Description
! Offset !! Type !! Description
|-
|-
| 0 || u32be || Data fork resume total size (high)
| 0 || u32be || Total size (high)
|-
|-
| 4 || u32be || Data fork resume total size (low)
| 4 || u32be || Total size (low)
|}
=Transaction Field Types=
==Download Info==
{| class="wikitable"
! Offset !! Type !! Description
|-
|-
| 8 || u32be || Mac resource fork total size (high)
| 0 || Data Size || Data resume size
|-
|-
| 12 || u32be || Mac resource fork total size (low)
| 8 || Data Size || Mac resource fork size
|-
|-
| 16 || u64be || Created timestamp
| 16 || u64be || Created timestamp
Line 44: Line 50:
|-
|-
| || pstr || Type string
| || pstr || Type string
|}
==Download Ready==
{| class="wikitable"
! Offset !! Type !! Description
|-
| 0 || u32be || Data fork bytes remaining (high)
|-
| 4 || u32be || Data fork bytes remaining (low)
|}
|}
==Download Request==
==Download Request==
Line 57: Line 55:
! Offset !! Type !! Description
! Offset !! Type !! Description
|-
|-
| 0 || u32be || Data fork resume offset (high)
| 0 || Data Size || Data resume size
|-
| 4 || u32be || Data fork resume offset (low)
|-
| 8 || u32be || Mac resource fork offset (high)
|-
|-
| 12 || u32be || Mac resource fork offset (low)
| 8 || Data Size || Mac resource fork size
|-
|-
| 16 || ? || flags and options?
| 16 || ? || flags and options?

Revision as of 00:09, 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 resume size
8 Data Size Mac resource fork 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 size
8 Data Size Mac resource fork size
16 ? flags and options?
23 u8 Fork selector (0 = data only, 1 = data + Mac resource)
24 pstr File path