namespace SabreTools.Serialization.Writers { /// /// Defines how to write to byte arrays /// public interface IByteWriter { /// /// Enable outputting debug information /// public bool Debug { get; set; } /// /// Serialize a into a byte array /// /// Type of object to serialize from /// Data to serialize /// Filled object on success, null on error public byte[]? SerializeArray(TModel? obj); } }