Skip to main content

lit_bytes

Function lit_bytes 

Source
fn lit_bytes<'a>(expr: &'a Expr<'_>) -> Option<&'a [u8]>
Expand description

Extracts the raw bytes of a string, unicode, or hex string literal argument, borrowing them directly from the interner to avoid allocating (and re-hashing) on every fold.