Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Read(Stream)

Reads a table snapshot from a stream.
Read time 1 minuteLast updated 6 days ago

Definition

ResourceTableData Read(Stream stream)

Parameters

stream

The source stream to read from.

Returns

Type

Description

ResourceTableDataThe table snapshot read from the stream.

Remarks

The stream is left open for the caller to dispose. Throw when the content does not describe a table rather than returning an empty snapshot, so the provider reports the file instead of serving a table with no entries.