Skip to content

PaletteFormat<TFile> Class

Definition

Base class for palette formats with a strongly typed file type.

public abstract class PaletteFormat<TFile> : PaletteFormat
   where TFile : PaletteFile

View source

Type Parameters

Name Description
TFile The concrete file type.

Constructors

Name Description
PaletteFormat(String, String) Base class for palette formats with a strongly typed file type.

Methods

Name Description
Read(Byte[]) Reads a palette file from a byte array.
Read(Stream) Reads a palette file from a stream.
ReadAsync(Stream, CancellationToken) Reads a palette file asynchronously.
WriteAsync(IOFile, IBinaryWriter) Writes a file to a IBinaryWriter asynchronously.
WriteAsync(TFile, IBinaryWriter) Writes a strongly typed resource file.