namespace PKHeX.Core { /// /// Provides handling for recognizing atypical save file formats. /// public interface ISaveHandler { /// /// Checks if the requested file size is one that can be recognized by this handler. /// /// File size /// True if recognized, false if not recognized. bool IsRecognized(int size); /// /// Tries splitting up the into header/footer/data components. Returns null if not a valid save file for this handler. /// /// Combined data /// Null if not a valid save file for this handler's format. Returns an object containing header, footer, and inner data references. SaveHandlerSplitResult? TrySplit(byte[] input); } }