Skip to main content

expand_bytes

Function expand_bytes 

Source
pub fn expand_bytes(
    data: &[u8],
    tabs: &TabStops,
    initial_only: bool,
    out: &mut impl Write,
) -> Result<()>
Expand description

Expand tabs to spaces using SIMD scanning. Uses memchr2 to find tabs and newlines, bulk-copying everything between them.