MCPcopy Index your code
hub / github.com/RustPython/RustPython / into_bytes

Method into_bytes

crates/wtf8/src/lib.rs:524–526  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

522 /// Consumes the WTF-8 string and tries to convert it to a vec of bytes.
523 #[inline]
524 pub fn into_bytes(self) -> Vec<u8> {
525 self.bytes
526 }
527
528 /// Consumes the WTF-8 string and tries to convert it to UTF-8.
529 ///

Callers 4

b2a_base64Function · 0.45
dyn_finalizeMethod · 0.45
to_asciiFunction · 0.45
from_stringMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected