public void MatchesSignatureAtOffsetPosition()
        {
            var format = new OffsetFileFormat(new byte[] { 0x03, 0x04 }, "example/test", "", 2);
            var header = new byte[] { 0x01, 0x02, 0x03, 0x04 };

            Assert.True(format.IsMatch(header));
        }
        public void MatchesSignatureAtOffsetPosition()
        {
            var format = new OffsetFileFormat(new byte[] { 0x03, 0x04 }, "example/test", "", 2);
            var header = new byte[] { 0x01, 0x02, 0x03, 0x04 };

            using var ms = new MemoryStream(header);
            var result = format.IsMatch(ms);

            Assert.True(result);
        }