Function difft::lines::byte_len

source ·
pub(crate) fn byte_len(s: &str) -> usize
Expand description

Return the length of s in bytes.

This is a trivial wrapper to make it clear when we want bytes not codepoints.