namespace SabreTools.Serialization.Interfaces { /// /// Defines how to serialize to and from byte arrays /// public interface IByteSerializer { /// /// Deserialize a byte array into /// /// Type of object to deserialize to /// Byte array to parse /// Offset into the byte array /// Filled object on success, null on error T? Deserialize(byte[]? data, int offset); // TODO: Add serialization method } }