stream_save_to_file

Function stream_save_to_file 

Source
pub unsafe extern "C" fn stream_save_to_file(
    stream: *mut Stream,
    storage: *mut Storage,
    path: *const c_char,
    mode: FS_OpenMode,
) -> usize
Expand description

Writes data from a stream to a file. Data will be saved starting from the current RW pointer. RW pointer will be moved to the end of the stream.

§Arguments

  • stream - Stream instance
  • storage -
  • path -
  • mode -

§Returns

size_t