nw::io::IOStream::Write Member Functionvirtual s32 Write( const void * buf, u32 length );
| Name | Description | |
|---|---|---|
| in | buf | Pointer to the buffer where data to be written is stored. The alignment of this data must match the alignment obtained using the GetBufferAlign function. |
| in | length | Data size to be written. The alignment of this data must match the alignment obtained using the GetSizeAlign function. |
Writes data to the stream (synchronous process).
Fails on ASSERT if the return value of the nw::io::IOStream::CanWrite function is false.
This function blocks processing until the reading out of data has completed. You can use the asynchronous version of the function (nw::io::IOStream::WriteAsync) if the return value of the nw::io::IOStream::CanAsync function is true.
nw::io::IOStream::WriteAsync
nw::io::IOStream::CanWrite
nw::io::IOStream::CanAsync
nw::io::IOStream::GetBufferAlign
nw::io::IOStream::GetSizeAlign
CONFIDENTIAL