Skip to content

NxbFormat Class

Definition

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

public sealed class NxbFormat : TileBlocksFormat<NxbFile>

View source

Constructors

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

Properties

Name Description
BitsPerIndex Gets the width of each plain tile index in bits.
BytesPerBlock Gets the number of bytes in a complete block.
Height Gets the height of each block in tile entries.
Width Gets the width of each block in tile entries.

Methods

Name Description
ReadAsync(IBinaryReader)
WriteAsync(NxbFile, IBinaryWriter)