use c_char;
use slice;
use str;
use Utf8Error;
/// Borrows the UTF-8 text of a C++ string llama.cpp exposes as a pointer and a length.
///
/// # Safety
///
/// `text` must point to `length` readable bytes that stay alive and unchanged for `'text`.
///
/// # Errors
///
/// Returns [`Utf8Error`] when the bytes are not UTF-8.
pub const unsafe