Skip to main content

buffer_append

Function buffer_append 

Source
pub fn buffer_append(buffer: &mut PlatformBuffer, data: &[u8]) -> bool
Expand description

Appends bytes to a platform buffer.

§Parameters

§Returns

Returns true when the condition checked by crate::platform::buffer_append holds and false otherwise.

§Examples

ⓘ
let _result = pharos_native::platform::buffer_append(&mut [], b"");
  • crate::platform for adjacent helpers that share the same runtime surface.