Class EndianSupport
  
  Support class that switches from one endian to the other.
    Inheritance
    System.Object
    EndianSupport
   
  
    Inherited Members
    
      System.Object.Equals(System.Object)
    
    
      System.Object.Equals(System.Object, System.Object)
    
    
      System.Object.GetHashCode()
    
    
      System.Object.GetType()
    
    
      System.Object.MemberwiseClone()
    
    
      System.Object.ReferenceEquals(System.Object, System.Object)
    
    
      System.Object.ToString()
    
   
  
  Assembly: Apache.NMS.dll
  Syntax
  
    [CLSCompliant(false)]
public class EndianSupport
   
  Methods
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  SwitchEndian(Byte[])
  
  
  Declaration
  
    public static byte[] SwitchEndian(byte[] x)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | System.Byte[] | x |  | 
    
  
  Returns
  
    
      
        | Type | Description | 
    
    
      
        | System.Byte[] |  | 
    
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  SwitchEndian(Char)
  
  
  Declaration
  
    public static char SwitchEndian(char x)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | System.Char | x |  | 
    
  
  Returns
  
    
      
        | Type | Description | 
    
    
      
        | System.Char |  | 
    
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  SwitchEndian(Double)
  
  
  Declaration
  
    public static double SwitchEndian(double x)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | System.Double | x |  | 
    
  
  Returns
  
    
      
        | Type | Description | 
    
    
      
        | System.Double |  | 
    
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  SwitchEndian(Int16)
  
  
  Declaration
  
    public static short SwitchEndian(short x)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | System.Int16 | x |  | 
    
  
  Returns
  
    
      
        | Type | Description | 
    
    
      
        | System.Int16 |  | 
    
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  SwitchEndian(Int32)
  
  
  Declaration
  
    public static int SwitchEndian(int x)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | System.Int32 | x |  | 
    
  
  Returns
  
    
      
        | Type | Description | 
    
    
      
        | System.Int32 |  | 
    
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  SwitchEndian(Int64)
  
  
  Declaration
  
    public static long SwitchEndian(long x)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | System.Int64 | x |  | 
    
  
  Returns
  
    
      
        | Type | Description | 
    
    
      
        | System.Int64 |  | 
    
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  SwitchEndian(Single)
  
  
  Declaration
  
    public static float SwitchEndian(float x)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | System.Single | x |  | 
    
  
  Returns
  
    
      
        | Type | Description | 
    
    
      
        | System.Single |  | 
    
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  SwitchEndian(UInt16)
  
  
  Declaration
  
    public static ushort SwitchEndian(ushort x)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | System.UInt16 | x |  | 
    
  
  Returns
  
    
      
        | Type | Description | 
    
    
      
        | System.UInt16 |  | 
    
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  SwitchEndian(UInt32)
  
  
  Declaration
  
    public static uint SwitchEndian(uint x)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | System.UInt32 | x |  | 
    
  
  Returns
  
    
      
        | Type | Description | 
    
    
      
        | System.UInt32 |  | 
    
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  SwitchEndian(UInt64)
  
  
  Declaration
  
    public static ulong SwitchEndian(ulong x)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | System.UInt64 | x |  | 
    
  
  Returns
  
    
      
        | Type | Description | 
    
    
      
        | System.UInt64 |  |