swend

alpha

Portable endianness swapping with platform-specific optimizations.

Add a Review
0 Downloads (This Week)
Last Update:
  Browse Code Code Repositories

Description

Swend (short for Swap Endianness) is a series of C/C++ compile-time macros designed to provide both portability and speed when byte-swapping data.

The header is designed in such a way to provide platform specific optimizations in inline-assembly when compiled on specific hardware to maximize efficiency (important when used in graphics applications), while defaulting to a pure C99 version of the macros when compiled on a platform that it is not optimized for.

swend Web Site

Categories

Libraries

KEEP ME UPDATED

Write a Review

User Reviews

Be the first to post a review of swend!

Additional Project Details

Intended Audience

Information Technology

Programming Language

Assembly, C

Registered

2012-01-31
Screenshots can attract more users to your project.
Features can attract more users to your project.

Icons must be PNG, GIF, or JPEG and less than 1 MiB in size. They will be displayed as 48x48 images.