The following (private!) function reveals the byte encoding used for OsStr.
(&self)
| 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 | /// |
no test coverage detected