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

Function uu_b2a

crates/stdlib/src/binascii.rs:813–819  ·  view source on GitHub ↗
(num: u8, backtick: bool)

Source from the content-addressed store, hash-verified

811 ) -> PyResult<Vec<u8>> {
812 #[inline]
813 const fn uu_b2a(num: u8, backtick: bool) -> u8 {
814 if backtick && num == 0 {
815 0x60
816 } else {
817 b' ' + num
818 }
819 }
820
821 data.with_ref(|b| {
822 let length = b.len();

Callers 1

b2a_uuFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected