nw::snd::HioSoundArchive::HioFileStream::Write Member Function

Syntax

virtual s32 Write(
     const void * buf,
     u32 length
);

Arguments

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.

Return Values

Returns the number of bytes actually written if data is written successfully.

Returns a negative error code if an error occurs during writing.
For details about the error codes that are returned, refer to the description of the concrete class.

Description

Writes data to the stream (synchronous process).


CONFIDENTIAL