Skip to main content

runtime_text_buffer_reserve

Function runtime_text_buffer_reserve 

Source
pub fn runtime_text_buffer_reserve(
    output: &mut String,
    additional: usize,
) -> bool
Expand description

Ensures a runtime text buffer has bounded capacity.

§Parameters

§Returns

Returns true when the condition checked by crate::runtime::json_commands::runtime_text_buffer_reserve holds and false otherwise.

§Examples

ⓘ
let _result = pharos_native::runtime::json_commands::runtime_text_buffer_reserve(todo!(), todo!());