Skip to content

NxbFormat Class ​

Definition ​

Reads and writes headerless collections of row-major tile-index blocks with an explicit layout.

c#
public sealed class NxbFormat : TileBlocksFormat<NxbFile>

View source

Constructors ​

NameDescription
NxbFormat(Int32, Int32, Int32)Initializes the externally supplied block dimensions and plain index width.

Properties ​

NameDescription
BitsPerIndexGets the width of each plain tile index in bits.
BytesPerBlockGets the number of bytes in a complete block.
HeightGets the height of each block in tile entries.
WidthGets the width of each block in tile entries.

Methods ​

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