MCPcopy Create free account
hub / github.com/apache/arrow-rs / bytes_contains

Function bytes_contains

arrow-string/src/binary_like.rs:164–166  ·  view source on GitHub ↗
(haystack: &[u8], needle: &[u8])

Source from the content-addressed store, hash-verified

162}
163
164fn bytes_contains(haystack: &[u8], needle: &[u8]) -> bool {
165 memchr::memmem::find(haystack, needle).is_some()
166}

Callers 1

op_binaryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected