pub fn extract_scope_bytes(source: &[u8], range: Option<(u32, u32)>) -> Vec<u8> ⓘExpand description
Extract bytes for a 1-indexed inclusive line range from source content.
If range is None, returns the full source. Invalid/out-of-range
starts yield empty bytes.