Skip to main content

emit_text_line_to_buffer

Function emit_text_line_to_buffer 

Source
pub fn emit_text_line_to_buffer(output: &mut String, text: &str) -> bool
Expand description

Appends a text line to a bounded output buffer.

§Parameters

§Returns

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

§Examples

ⓘ
let _result = pharos_native::runtime::json_commands::emit_text_line_to_buffer(todo!(), "{}");