NETReadSwappedBytes*

C Specification

#include <revolution/net.h>

inline u16 NETReadSwappedBytes16( const u16* src );
inline u32 NETReadSwappedBytes32( const u32* src );

Arguments

src Pointer to the data where the byte order of data is to be reversed and the resulting value read.

Return Values

Value show byte order is reversed and then read.

Description

This function reverses the byte order beginning from the specified address and reads either a 16-bit or 32-bit value.

See Also

NETSwapBytes16, NETSwapBytes32, NETWriteSwappedBytes16, NETWriteSwappedBytes32

Revision History

2006/09/01 Initial version.


CONFIDENTIAL