C# Class Dicom.IO.Endian

Show file Open project: fo-dicom/mdcm Class Usage Examples

Public Properties

Property Type Description
Big Endian
Little Endian
LocalMachine Endian

Public Methods

Method Description
Equals ( object obj ) : bool
GetHashCode ( ) : int
Swap ( double value ) : double
Swap ( float value ) : float
Swap ( int value ) : int
Swap ( long value ) : long
Swap ( short value ) : short
Swap ( uint value ) : uint
Swap ( ulong value ) : ulong
Swap ( ushort value ) : ushort
SwapBytes ( int bytesToSwap, byte bytes ) : void
SwapBytes2 ( byte bytes ) : void
SwapBytes4 ( byte bytes ) : void
SwapBytes8 ( byte bytes ) : void
ToString ( ) : string
operator ( ) : bool

Private Methods

Method Description
Endian ( bool isBigEndian ) : System

Method Details

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

GetHashCode() public method

public GetHashCode ( ) : int
return int

Swap() public static method

public static Swap ( double value ) : double
value double
return double

Swap() public static method

public static Swap ( float value ) : float
value float
return float

Swap() public static method

public static Swap ( int value ) : int
value int
return int

Swap() public static method

public static Swap ( long value ) : long
value long
return long

Swap() public static method

public static Swap ( short value ) : short
value short
return short

Swap() public static method

public static Swap ( uint value ) : uint
value uint
return uint

Swap() public static method

public static Swap ( ulong value ) : ulong
value ulong
return ulong

Swap() public static method

public static Swap ( ushort value ) : ushort
value ushort
return ushort

SwapBytes() public static method

public static SwapBytes ( int bytesToSwap, byte bytes ) : void
bytesToSwap int
bytes byte
return void

SwapBytes2() public static method

public static SwapBytes2 ( byte bytes ) : void
bytes byte
return void

SwapBytes4() public static method

public static SwapBytes4 ( byte bytes ) : void
bytes byte
return void

SwapBytes8() public static method

public static SwapBytes8 ( byte bytes ) : void
bytes byte
return void

ToString() public method

public ToString ( ) : string
return string

operator() public static method

public static operator ( ) : bool
return bool

Property Details

Big public static property

public static Endian,Dicom.IO Big
return Endian

Little public static property

public static Endian,Dicom.IO Little
return Endian

LocalMachine public static property

public static Endian,Dicom.IO LocalMachine
return Endian