readHeader

Parses the header of the given THOR

Format description: https://z0q.neocities.org/ragnarok-online-formats/thor/

ref
readHeader
(
return ref THOR thor
)

Parameters

thor THOR

The THOR struct to parse the header for

Return Value

Type: THOR

Input thor for easy chaining

Throws

ThorException if parsing fails due to wrong format. Exception or ErrnoException in case of file operation failure.

Meta