Skip to content

TileBlocksFormat.ReadAsync Method

Definition

Reads a tile blocks file asynchronously.

public new Task<TileBlocksFile> ReadAsync(Stream stream, CancellationToken cancellationToken = null);

Parameters

Name Type Description
stream Stream The stream to read.
cancellationToken CancellationToken An optional cancellation token.

Returns

Task<TileBlocksFile>

The file read from the stream.