RwWriteStreamReal(RwStream *stream, RwReal *rlist, RwInt32 size);
Writes an array of RwReal data types to a stream in a platform independent manner.
Arguments
stream Stream to be written to.
rlist Pointer to array of RwReal data types to be written.
size Size in bytes of the data to be written.
Return Value
TRUE on success.
Comments
Note that the length is given in bytes and should be found using the sizeof operator.
RwReal number = CREAL(20);
if
(!RwWriteStreamReal(stream, &number,
sizeof(number)))
{
/* error writing ! */
return FALSE;
}
See Also