protected override bool MatchesPrivate(Stream stream) { for (var i = 0; i < _maximumStartLocation; i++) { stream.Position = i; if (_matcher.Matches(stream, resetPosition: false)) { return(true); } } return(false); }
public bool Matches(Stream stream) { return(_FileTypeMatcher == null || _FileTypeMatcher.Matches(stream)); }