# MI_Load*

## C Specification

  `#include <nitro/mi.h>`
  `SDK_INLINE u8 MI_LoadLE8 (const void *ptr);
  SDK_INLINE u16 MI_LoadLE16(const void *ptr);
  SDK_INLINE u32 MI_LoadLE32(const void *ptr);
  SDK_INLINE u8 MI_LoadBE8 (const void *ptr);
  SDK_INLINE u16 MI_LoadBE16(const void *ptr);
  SDK_INLINE u32 MI_LoadBE32(const void *ptr);
  `

## Arguments

ptr | Represents the address whose value is to be read. Alignment at a 16-bit or 32-bit boundary is not required.

## Return Values

Returns the value obtained as the specified endian (`u16 or u32`)

## Description

Obtains a value from the specified address using the specified endian. LE represents little-endian, while BE represents big-endian.

These 8-bit versions do not actually perform any conversions, but they have been included for source code uniformity.

## See Also

MI_SwapEndian* MI_Store* MI_HTo* MI_*ToH*

## Revision History

06/13/2006 Added a description about the 8-bit versions
04/05/2006 Initial version

CONFIDENTIAL