Skip to content

TilesFormat.ReadAsync Method

Definition

Reads a tiles file asynchronously.

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

Parameters

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

Returns

Task<TilesFile>

The file read from the stream.