namespace SabreTools.Serialization.Writers
{
///
/// Defines how to write to Streams
///
public interface IStreamWriter
{
///
/// Enable outputting debug information
///
public bool Debug { get; set; }
///
/// Serialize a into a Stream
///
/// Type of object to serialize from
/// Data to serialize
/// Filled object on success, null on error
public System.IO.Stream? SerializeStream(TModel? obj);
}
}