Skip to content

TilesFormat.ReadAsync Method ​

Definition ​

Reads a tiles file asynchronously.

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

Parameters ​

NameTypeDescription
streamStreamThe stream to read.
cancellationTokenCancellationTokenAn optional cancellation token.

Returns ​

Task<TilesFile>

The file read from the stream.