Interface IAssetParser
Represents an interface for services that parse assets from the specified data formats.
public interface IAssetParser
- Extension Methods
Properties
Format
Gets the format for the serialization.
string Format { get; }
Property Value
Methods
Parse(Stream, Type)
Performs the deserialization from the specified data stream.
object Parse(Stream stream, Type targetType)
Parameters
Returns
- object
An instance of the deserialized object.
Parse<T>(Stream)
Performs the deserialization from the specified data stream.
T Parse<T>(Stream stream)
Parameters
streamStreamStream to read data from.
Returns
- T
An instance of the deserialized object.
Type Parameters
TRequested type to load.