Skip to main content

char_to_byte

Function char_to_byte 

Source
fn char_to_byte(s: &str, n: usize) -> usize
Expand description

文字位置 n(文字単位)に対応するバイト位置(範囲外は末尾)。