nw::io::IOStream::Read Member Functionvirtual s32 Read( void* buf, u32 length );
| Name | Description | |
|---|---|---|
| out | buf | Pointer to the buffer where data to be read is stored. The alignment of this data must match the alignment obtained using the GetBufferAlign function. |
| in | length | Data size to be read. The alignment of this data must match the alignment obtained using the GetSizeAlign function. |
Reads data from the stream (synchronous process).
Fails on ASSERT if the return value of the nw::io::IOStream::CanRead 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::ReadAsync) if the return value of the nw::io::IOStream::CanAsync function is true.
nw::io::IOStream::ReadAsync
nw::io::IOStream::CanRead
nw::io::IOStream::CanAsync
nw::io::IOStream::GetBufferAlign
nw::io::IOStream::GetSizeAlign
CONFIDENTIAL