C MIP-SDK
Functions
byteswap_utilities.c File Reference
#include "byteswap_utilities.h"

Functions

void byteswap (void *in, void *out, u16 size)
void byteswap_inplace (void *data, u16 size)

Detailed Description

Author:
Nathan Miller
Version:
1.1

Function Documentation

void byteswap ( void *  in,
void *  out,
u16  size 
)

DESCRIPTION

Byteswap data in and store it in location out.

DETAILS

Parameters:
[in]void*in - byte pointer to the data to be byteswapped.
[out]void*out - byte pointer to the memory to store the result.
[in]u16size - the size of the data to byteswap in bytes.

NOTES

None

void byteswap_inplace ( void *  data,
u16  size 
)

DESCRIPTION

Byteswap a memory location in place.

DETAILS

Parameters:
[in,out]void*data - byte pointer to the data to byteswap.
[in]u16size - the size of the data to byteswap in bytes.

NOTES

None

 All Data Structures Files Functions Defines