Gets the underlying dcbor-pattern ByteStringPattern.
StaticanyCreates a new ByteStringPattern that matches any byte string.
StaticvalueCreates a new ByteStringPattern that matches the specific byte string.
StaticregexCreates a new ByteStringPattern that matches byte strings matching the binary regex.
StaticfromCreates a new ByteStringPattern from a dcbor-pattern ByteStringPattern.
Returns true if the pattern matches the haystack.
Returns true if the Display of the matcher is complex, i.e. contains nested patterns or other complex structures that require its text rendering to be surrounded by grouping parentheses.
Returns a string representation of an object.
Hash code for use in Maps/Sets.
Pattern for matching byte string values.
This is a wrapper around dcbor_pattern::ByteStringPattern that provides envelope-specific integration.
Corresponds to the Rust
ByteStringPatternstruct in byte_string_pattern.rs