Skip to main content

write_temp_body_chunk

Function write_temp_body_chunk 

Source
pub fn write_temp_body_chunk(file: &mut File, data: &[u8]) -> i32
Expand description

Writes one bounded body chunk, retrying short writes without invoking external code.

§Parameters

§Returns

Returns the computed value produced by crate::http::write_temp_body_chunk.

§Examples

ⓘ
let _result = pharos_runtime_core::http::write_temp_body_chunk(todo!(), b"");
  • crate::http for adjacent helpers that share the same runtime surface.