pub(crate) fn encoded_string_info<const CHECK_ASCII: bool>(
bytes: &[u8],
) -> Result<(usize, bool)>Expand description
Checks string framing and optionally detects ASCII in the same pass. Framing-only readers compile out payload inspection and ignore the ASCII result.