TianoCore EDK2 master
Loading...
Searching...
No Matches
SwapBytes64.c File Reference
#include "BaseLibInternals.h"

Go to the source code of this file.

Functions

UINT64 EFIAPI SwapBytes64 (IN UINT64 Value)
 

Detailed Description

Math worker functions.

Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file SwapBytes64.c.

Function Documentation

◆ SwapBytes64()

UINT64 EFIAPI SwapBytes64 ( IN UINT64  Value)

Switches the endianess of a 64-bit integer.

This function swaps the bytes in a 64-bit unsigned value to switch the value from little endian to big endian or vice versa. The byte swapped value is returned.

Parameters
ValueA 64-bit unsigned value.
Returns
The byte swapped Value.

Definition at line 25 of file SwapBytes64.c.