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

Method decode

crates/vm/src/builtins/bytearray.rs:679–681  ·  view source on GitHub ↗
(self, args: DecodeArgs, vm: &VirtualMachine)

Source from the content-addressed store, hash-verified

677
678 #[pymethod]
679 fn decode(self, args: DecodeArgs, vm: &VirtualMachine) -> PyResult<PyStrRef> {
680 bytes_decode(self.into(), args, vm)
681 }
682}
683
684impl DefaultConstructor for PyByteArray {}

Callers

nothing calls this directly

Calls 1

bytes_decodeFunction · 0.85

Tested by

no test coverage detected