#include <oskit/com/stream.h>OSKIT_COMDECL oskit_stream_write(oskit_stream_t *f, const void *buf, oskit_u32_t len, [out] oskit_u32_t *out_actual);
This method writes no more than len bytes from buf into this stream, starting at the current seek pointer of this stream. out_actual is set to the actual number of bytes written.
- f
- The object to which to write.
- buf
- The buffer from which the data is to be copied.
- len
- The maximum number of bytes to write.
- out_actual
- The actual number of bytes written.
Returns 0 on success, or an error code specified in <oskit/error.h>, on error.