namespace SabreTools.Serialization.Readers
{
///
/// Defines how to read from Streams
///
public interface IStreamReader
{
///
/// Enable outputting debug information
///
public bool Debug { get; set; }
///
/// Deserialize a Stream into
///
/// Type of object to deserialize to
/// Stream to parse
/// Filled object on success, null on error
public TModel? Deserialize(System.IO.Stream? data);
}
}