Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ashvardanian/StringZilla
/ as_bytes
Method
as_bytes
rust/stringzilla.rs:210–212 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
208
/// Returns the needle bytes.
209
#[inline]
210
pub fn as_bytes(&self) -> &[u8] {
211
self.needle
212
}
213
214
/// Returns the length of the needle in bytes.
215
#[inline]
Callers
9
sz_sequence_get_start_str
Function · 0.80
sz_sequence_get_length_str
Function · 0.80
write_str
Method · 0.80
find_case_insensitive_in
Method · 0.80
iter_splits_with_utf8_haystack
Function · 0.80
argsort_permutation_by_custom
Function · 0.80
intersection_by_custom
Function · 0.80
iter_newline_utf8_splits_unicode
Function · 0.80
iter_whitespace_utf8_splits_unicode
Function · 0.80
Calls
no outgoing calls
Tested by
5
iter_splits_with_utf8_haystack
Function · 0.64
argsort_permutation_by_custom
Function · 0.64
intersection_by_custom
Function · 0.64
iter_newline_utf8_splits_unicode
Function · 0.64
iter_whitespace_utf8_splits_unicode
Function · 0.64