MCPcopy Create free account
hub / github.com/bendudson/EuraliOS / as_u8_slice

Method as_u8_slice

euralios_std/src/path.rs:311–313  ·  view source on GitHub ↗

The following (private!) function reveals the byte encoding used for OsStr.

(&self)

Source from the content-addressed store, hash-verified

309
310 // The following (private!) function reveals the byte encoding used for OsStr.
311 fn as_u8_slice(&self) -> &[u8] {
312 self.inner.bytes()
313 }
314
315 /// Directly wraps a string slice as a Path slice.
316 ///

Callers 2

popMethod · 0.80
componentsMethod · 0.80

Calls 1

bytesMethod · 0.45

Tested by

no test coverage detected