NETWriteSwappedBytes*

C Specification

#include <revolution/net.h>

inline void NETWriteSwappedBytes16( u16* dst, u16 val );
inline void NETWriteSwappedBytes32( u32* dst, u32 val );

Arguments

dst Pointer to the data where the byte order is to be reversed and the resulting value written.
val The value to write.

Return Values

None.

Description

This function reverses the byte order of a 16-bit or 32-bit value and writes the result to the specified address.

See Also

NETSwapBytes16, NETSwapBytes32, NETReadSwappedBytes16, NETReadSwappedBytes32

Revision History

2006/09/01 Initial version.


CONFIDENTIAL