MCPcopy Create free account
hub / github.com/dylan-sutton-chavez/edge-python / Bytes

Class Bytes

wasm-pdk/src/lib.rs:397–397  ·  view source on GitHub ↗

Python `bytes`; transits raw, never decoded as UTF-8. Deref reads it as a slice.

Source from the content-addressed store, hash-verified

395
396/// Python `bytes`; transits raw, never decoded as UTF-8. Deref reads it as a slice.
397pub struct Bytes(pub Vec<u8>);
398
399impl core::ops::Deref for Bytes {
400 type Target = [u8];

Callers 15

parse_atomMethod · 0.85
ensure_const_valsMethod · 0.85
to_bytesFunction · 0.85
encodeFunction · 0.85
replaceFunction · 0.85
splitFunction · 0.85
fromhexFunction · 0.85
lowerFunction · 0.85
upperFunction · 0.85
bstripFunction · 0.85
joinFunction · 0.85
call_bytes_fromhexMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected