public void WriteCompressedTiles8(Tile[] tiles) { if (tiles == null) { throw new ArgumentNullException(nameof(tiles)); } WriteCompressedBytes(BitDepth.Encode8(tiles)); }
public void WriteTiles8(Tileset tiles) { if (tiles == null) { throw new ArgumentNullException(nameof(tiles)); } WriteBytes(BitDepth.Encode8(tiles)); }