Skip to content

NxmFormat Class ​

Definition ​

Reads and writes headerless NXM maps with explicitly supplied dimensions, encoding and order.

c#
public sealed class NxmFormat : TileMapFormat<NxmFile>

View source

Constructors ​

NameDescription
NxmFormat(Int32, Int32, NxmEncoding, ResourceDataOrder)Initializes the interpretation of a raw NXM map; no options are stored in the file itself.

Properties ​

NameDescription
BytesPerEntryGets the number of bytes per entry.
EncodingGets the selected entry interpretation.
HeightGets the map height in entries.
LengthGets the required file length in bytes.
OrderGets the on-disk traversal order.
WidthGets the map width in entries.

Methods ​

NameDescription
ReadAsync(IBinaryReader)Reads a file from an IBinaryReader.
WriteAsync(NxmFile, IBinaryWriter)Writes a strongly typed resource file.