C# Class Gammtek.Conduit.IO.ByteOrderConverter

Afficher le fichier Open project: ME3Explorer/ME3Explorer

Méthodes publiques

Méthode Description
CopyBytes ( bool value, byte buffer, int index ) : void
CopyBytes ( char value, byte buffer, int index ) : void
CopyBytes ( decimal value, byte buffer, int index ) : void
CopyBytes ( double value, byte buffer, int index ) : void
CopyBytes ( float value, byte buffer, int index ) : void
CopyBytes ( int value, byte buffer, int index ) : void
CopyBytes ( long value, byte buffer, int index ) : void
CopyBytes ( short value, byte buffer, int index ) : void
CopyBytes ( uint value, byte buffer, int index ) : void
CopyBytes ( ulong value, byte buffer, int index ) : void
CopyBytes ( ushort value, byte buffer, int index ) : void
DoubleToInt64Bits ( double value ) : long
GetBytes ( bool value ) : byte[]
GetBytes ( char value ) : byte[]
GetBytes ( decimal value ) : byte[]
GetBytes ( double value ) : byte[]
GetBytes ( float value ) : byte[]
GetBytes ( int value ) : byte[]
GetBytes ( long value ) : byte[]
GetBytes ( short value ) : byte[]
GetBytes ( uint value ) : byte[]
GetBytes ( ulong value ) : byte[]
GetBytes ( ushort value ) : byte[]
Int32BitsToSingle ( int value ) : float
Int64BitsToDouble ( long value ) : double
SingleToInt32Bits ( float value ) : int
ToBoolean ( byte value, int startIndex ) : bool
ToChar ( byte value, int startIndex ) : char
ToDecimal ( byte value, int startIndex ) : decimal
ToDouble ( byte value, int startIndex ) : double
ToInt16 ( byte value, int startIndex ) : short
ToInt32 ( byte value, int startIndex ) : int
ToInt64 ( byte value, int startIndex ) : long
ToSingle ( byte value, int startIndex ) : float
ToString ( byte value ) : string
ToString ( byte value, int startIndex ) : string
ToString ( byte value, int startIndex, int length ) : string
ToUInt16 ( byte value, int startIndex ) : ushort
ToUInt32 ( byte value, int startIndex ) : uint
ToUInt64 ( byte value, int startIndex ) : ulong

Private Methods

Méthode Description
ByteOrderConverter ( ByteOrder byteOrder = ByteOrder.LittleEndian ) : System
CheckedFromBytes ( byte value, int startIndex, int bytesToConvert ) : long
CopyBytes ( long value, int bytes, byte buffer, int index ) : void
FromBytes ( byte buffer, int startIndex, int bytesToConvert ) : long
GetBytes ( long value, int bytes ) : byte[]

Method Details

CopyBytes() public méthode

public CopyBytes ( bool value, byte buffer, int index ) : void
value bool
buffer byte
index int
Résultat void

CopyBytes() public méthode

public CopyBytes ( char value, byte buffer, int index ) : void
value char
buffer byte
index int
Résultat void

CopyBytes() public méthode

public CopyBytes ( decimal value, byte buffer, int index ) : void
value decimal
buffer byte
index int
Résultat void

CopyBytes() public méthode

public CopyBytes ( double value, byte buffer, int index ) : void
value double
buffer byte
index int
Résultat void

CopyBytes() public méthode

public CopyBytes ( float value, byte buffer, int index ) : void
value float
buffer byte
index int
Résultat void

CopyBytes() public méthode

public CopyBytes ( int value, byte buffer, int index ) : void
value int
buffer byte
index int
Résultat void

CopyBytes() public méthode

public CopyBytes ( long value, byte buffer, int index ) : void
value long
buffer byte
index int
Résultat void

CopyBytes() public méthode

public CopyBytes ( short value, byte buffer, int index ) : void
value short
buffer byte
index int
Résultat void

CopyBytes() public méthode

public CopyBytes ( uint value, byte buffer, int index ) : void
value uint
buffer byte
index int
Résultat void

CopyBytes() public méthode

public CopyBytes ( ulong value, byte buffer, int index ) : void
value ulong
buffer byte
index int
Résultat void

CopyBytes() public méthode

public CopyBytes ( ushort value, byte buffer, int index ) : void
value ushort
buffer byte
index int
Résultat void

DoubleToInt64Bits() public méthode

public DoubleToInt64Bits ( double value ) : long
value double
Résultat long

GetBytes() public méthode

public GetBytes ( bool value ) : byte[]
value bool
Résultat byte[]

GetBytes() public méthode

public GetBytes ( char value ) : byte[]
value char
Résultat byte[]

GetBytes() public méthode

public GetBytes ( decimal value ) : byte[]
value decimal
Résultat byte[]

GetBytes() public méthode

public GetBytes ( double value ) : byte[]
value double
Résultat byte[]

GetBytes() public méthode

public GetBytes ( float value ) : byte[]
value float
Résultat byte[]

GetBytes() public méthode

public GetBytes ( int value ) : byte[]
value int
Résultat byte[]

GetBytes() public méthode

public GetBytes ( long value ) : byte[]
value long
Résultat byte[]

GetBytes() public méthode

public GetBytes ( short value ) : byte[]
value short
Résultat byte[]

GetBytes() public méthode

public GetBytes ( uint value ) : byte[]
value uint
Résultat byte[]

GetBytes() public méthode

public GetBytes ( ulong value ) : byte[]
value ulong
Résultat byte[]

GetBytes() public méthode

public GetBytes ( ushort value ) : byte[]
value ushort
Résultat byte[]

Int32BitsToSingle() public méthode

public Int32BitsToSingle ( int value ) : float
value int
Résultat float

Int64BitsToDouble() public méthode

public Int64BitsToDouble ( long value ) : double
value long
Résultat double

SingleToInt32Bits() public méthode

public SingleToInt32Bits ( float value ) : int
value float
Résultat int

ToBoolean() public méthode

public ToBoolean ( byte value, int startIndex ) : bool
value byte
startIndex int
Résultat bool

ToChar() public méthode

public ToChar ( byte value, int startIndex ) : char
value byte
startIndex int
Résultat char

ToDecimal() public méthode

public ToDecimal ( byte value, int startIndex ) : decimal
value byte
startIndex int
Résultat decimal

ToDouble() public méthode

public ToDouble ( byte value, int startIndex ) : double
value byte
startIndex int
Résultat double

ToInt16() public méthode

public ToInt16 ( byte value, int startIndex ) : short
value byte
startIndex int
Résultat short

ToInt32() public méthode

public ToInt32 ( byte value, int startIndex ) : int
value byte
startIndex int
Résultat int

ToInt64() public méthode

public ToInt64 ( byte value, int startIndex ) : long
value byte
startIndex int
Résultat long

ToSingle() public méthode

public ToSingle ( byte value, int startIndex ) : float
value byte
startIndex int
Résultat float

ToString() public méthode

public ToString ( byte value ) : string
value byte
Résultat string

ToString() public méthode

public ToString ( byte value, int startIndex ) : string
value byte
startIndex int
Résultat string

ToString() public méthode

public ToString ( byte value, int startIndex, int length ) : string
value byte
startIndex int
length int
Résultat string

ToUInt16() public méthode

public ToUInt16 ( byte value, int startIndex ) : ushort
value byte
startIndex int
Résultat ushort

ToUInt32() public méthode

public ToUInt32 ( byte value, int startIndex ) : uint
value byte
startIndex int
Résultat uint

ToUInt64() public méthode

public ToUInt64 ( byte value, int startIndex ) : ulong
value byte
startIndex int
Résultat ulong