MCPcopy 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]

Calls

no outgoing calls