MCPcopy Index your code
hub / github.com/RustPython/RustPython / utf8_is_cont_byte

Function utf8_is_cont_byte

crates/sre_engine/src/string.rs:328–330  ·  view source on GitHub ↗
(byte: u8)

Source from the content-addressed store, hash-verified

326/// bits `10`).
327#[inline]
328const fn utf8_is_cont_byte(byte: u8) -> bool {
329 (byte as i8) < -64
330}
331
332/// Mask of the value bits of a continuation byte.
333const CONT_MASK: u8 = 0b0011_1111;

Callers 1

next_code_point_reverseFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected