ADC Home > Reference Library > Reference > Darwin > Kernel Framework Reference

 


OSEndianTypes.h

Includes:
<libkern/OSTypes.h>
<libkern/OSByteOrder.h>

Overview

C++ inline types for byte swapping

Discussion

The OSEndianTypes consist of a number of types that are used very similarly to the traditional MacOS C scalar integers types, eg. UInt32 and SInt32.

Updated:
2005-07-25


Typedefs


BigSInt16


A Big-endian signed integer scalar size 16 - SInt16

typedef class BigSInt16 BigSInt16;  


BigSInt32


A Big-endian signed integer scalar size 32 - SInt32

typedef class BigSInt32 BigSInt32;  


BigSInt64


A Big-endian signed integer scalar size 64 - SInt64

typedef class BigSInt64 BigSInt64;  


BigUInt16


A Big-endian unsigned integer scalar size 16 - UInt16

typedef class BigUInt16 BigUInt16;  


BigUInt32


A Big-endian unsigned integer scalar size 32 - UInt32

typedef class BigUInt32 BigUInt32;  


BigUInt64


A Big-endian unsigned integer scalar size 64 - UInt64

typedef class BigUInt64 BigUInt64;  


LittleSInt16


A Little-endian signed integer scalar size 16 - SInt16

typedef class LittleSInt16 LittleSInt16;  


LittleSInt32


A Little-endian signed integer scalar size 32 - SInt32

typedef class LittleSInt32 LittleSInt32;  


LittleSInt64


A Little-endian signed integer scalar size 64 - SInt64

typedef class LittleSInt64 LittleSInt64;  


LittleUInt16


A Little-endian unsigned integer scalar size 16 - UInt16

typedef class LittleUInt16 LittleUInt16;  


LittleUInt32


A Little-endian unsigned integer scalar size 32 - UInt32

typedef class LittleUInt32 LittleUInt32;  


LittleUInt64


A Little-endian unsigned integer scalar size 64 - UInt64

typedef class LittleUInt64 LittleUInt64;  


Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.

 

© 2005 Apple Computer, Inc. All rights reserved. Last Updated: 2005-07-25