Class Banner2Binary
- Namespace
- SceneGate.Ekona.Containers.Rom
- Assembly
- SceneGate.Ekona.dll
Convert a container with banner information into a binary stream.
public class Banner2Binary : IConverter<NodeContainerFormat, BinaryFormat>, IConverter
- Inheritance
-
Banner2Binary
- Implements
-
IConverter<NodeContainerFormat, BinaryFormat>IConverter
- Inherited Members
Remarks
Supported versions: 0.1, 0.2, 0.3 and 1.3 (except animated icons).
The input container expects to have:
/info | Program banner content with Banner format. |
/icon | Program icon with IndexedPaletteImage format. |
Methods
Convert(NodeContainerFormat)
Write a container banner into a binary format.
public BinaryFormat Convert(NodeContainerFormat source)
Parameters
source
NodeContainerFormatBanner to serialize into binary format.
Returns
- BinaryFormat
The new serialized binary.