Switch to our new Match function

Also improved some docstrings
This commit is contained in:
2025-10-09 12:39:49 +02:00
parent bc35ff63e7
commit 31774b961d
2 changed files with 33 additions and 26 deletions

View File

@@ -1,6 +1,6 @@
package protocol
// MatchPattern checks if the byte slice matches the magic string pattern.
// Match the input against the magic string pattern.
//
// '?' matches any single character
// '*' matches zero or more characters