Table of Contents

Class Binary2RomHeader

Namespace
SceneGate.Ekona.Containers.Rom
Assembly
SceneGate.Ekona.dll

Converter for binary ROM header into an object.

public class Binary2RomHeader : IConverter<IBinary, RomHeader>, IConverter
Inheritance
Binary2RomHeader
Implements
IConverter<IBinary, RomHeader>
IConverter
Inherited Members

Constructors

Binary2RomHeader()

Initializes a new instance of the Binary2RomHeader class.

public Binary2RomHeader()

Binary2RomHeader(DsiKeyStore)

Initializes a new instance of the Binary2RomHeader class.

public Binary2RomHeader(DsiKeyStore keyStore)

Parameters

keyStore DsiKeyStore

The converter parameters.

Remarks

The key store is used to verify a special token and set the value of DisableSecureArea. Otherwise, it will always be false. The required key is BlowfishDsKey.

Exceptions

ArgumentNullException

The argument is null.

Properties

HeaderSizeOffset

Gets the offset in the header containing the header size value.

public static int HeaderSizeOffset { get; }

Property Value

int

Methods

Convert(IBinary)

Convert a binary format into a ROM header object.

public RomHeader Convert(IBinary source)

Parameters

source IBinary

The stream to read.

Returns

RomHeader

The new ROM header.