Table of Contents

Class RomHeader2Binary

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

Converter for ROM header object into binary stream (serialization).

public class RomHeader2Binary : IConverter<RomHeader, BinaryFormat>, IConverter
Inheritance
RomHeader2Binary
Implements
IConverter<RomHeader, BinaryFormat>
IConverter
Inherited Members

Constructors

RomHeader2Binary()

Initializes a new instance of the RomHeader2Binary class.

public RomHeader2Binary()

RomHeader2Binary(DsiKeyStore)

Initializes a new instance of the RomHeader2Binary class.

public RomHeader2Binary(DsiKeyStore keyStore)

Parameters

keyStore DsiKeyStore

The converter parameters.

Remarks

The key store is used to generate a special token if DisableSecureArea is true. Otherwise, it will always write 0. The required key is BlowfishDsKey.

Exceptions

ArgumentNullException

The argument is null.

Methods

Convert(RomHeader)

Serialize a ROM header object into a binary stream.

public BinaryFormat Convert(RomHeader source)

Parameters

source RomHeader

The header to convert.

Returns

BinaryFormat

The new binary stream.

Exceptions

ArgumentNullException

The argument is null.