Skip to main content

ComputeLineOffsets

Function ComputeLineOffsets 

Source
fn ComputeLineOffsets(Source: &str) -> Vec<usize>
Expand description

Pre-compute the byte offset of the start of every line.