Class NitroRom2Binary
- Namespace
- SceneGate.Ekona.Containers.Rom
- Assembly
- SceneGate.Ekona.dll
Converter from NitroRom containers into binary format.
public class NitroRom2Binary : IConverter<NodeContainerFormat, BinaryFormat>, IConverter
- Inheritance
-
NitroRom2Binary
- Implements
-
IConverter<NodeContainerFormat, BinaryFormat>IConverter
- Inherited Members
Constructors
NitroRom2Binary()
Initializes a new instance of the NitroRom2Binary class.
public NitroRom2Binary()
NitroRom2Binary(NitroRom2BinaryParams)
Initializes a new instance of the NitroRom2Binary class.
public NitroRom2Binary(NitroRom2BinaryParams parameters)
Parameters
parameters
NitroRom2BinaryParamsThe parameters of the converter.
Methods
Convert(NodeContainerFormat)
Serializes a ROM container into NDS binary format.
public BinaryFormat Convert(NodeContainerFormat source)
Parameters
source
NodeContainerFormatThe ROM container to serialize.
Returns
- BinaryFormat
Serialized binary stream.
Exceptions
- ArgumentNullException
The argument is null.