C# 클래스 Gammtek.Conduit.IO.ByteOrderConverter

파일 보기 프로젝트 열기: ME3Explorer/ME3Explorer

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
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[]

메소드 상세

CopyBytes() 공개 메소드

public CopyBytes ( bool value, byte buffer, int index ) : void
value bool
buffer byte
index int
리턴 void

CopyBytes() 공개 메소드

public CopyBytes ( char value, byte buffer, int index ) : void
value char
buffer byte
index int
리턴 void

CopyBytes() 공개 메소드

public CopyBytes ( decimal value, byte buffer, int index ) : void
value decimal
buffer byte
index int
리턴 void

CopyBytes() 공개 메소드

public CopyBytes ( double value, byte buffer, int index ) : void
value double
buffer byte
index int
리턴 void

CopyBytes() 공개 메소드

public CopyBytes ( float value, byte buffer, int index ) : void
value float
buffer byte
index int
리턴 void

CopyBytes() 공개 메소드

public CopyBytes ( int value, byte buffer, int index ) : void
value int
buffer byte
index int
리턴 void

CopyBytes() 공개 메소드

public CopyBytes ( long value, byte buffer, int index ) : void
value long
buffer byte
index int
리턴 void

CopyBytes() 공개 메소드

public CopyBytes ( short value, byte buffer, int index ) : void
value short
buffer byte
index int
리턴 void

CopyBytes() 공개 메소드

public CopyBytes ( uint value, byte buffer, int index ) : void
value uint
buffer byte
index int
리턴 void

CopyBytes() 공개 메소드

public CopyBytes ( ulong value, byte buffer, int index ) : void
value ulong
buffer byte
index int
리턴 void

CopyBytes() 공개 메소드

public CopyBytes ( ushort value, byte buffer, int index ) : void
value ushort
buffer byte
index int
리턴 void

DoubleToInt64Bits() 공개 메소드

public DoubleToInt64Bits ( double value ) : long
value double
리턴 long

GetBytes() 공개 메소드

public GetBytes ( bool value ) : byte[]
value bool
리턴 byte[]

GetBytes() 공개 메소드

public GetBytes ( char value ) : byte[]
value char
리턴 byte[]

GetBytes() 공개 메소드

public GetBytes ( decimal value ) : byte[]
value decimal
리턴 byte[]

GetBytes() 공개 메소드

public GetBytes ( double value ) : byte[]
value double
리턴 byte[]

GetBytes() 공개 메소드

public GetBytes ( float value ) : byte[]
value float
리턴 byte[]

GetBytes() 공개 메소드

public GetBytes ( int value ) : byte[]
value int
리턴 byte[]

GetBytes() 공개 메소드

public GetBytes ( long value ) : byte[]
value long
리턴 byte[]

GetBytes() 공개 메소드

public GetBytes ( short value ) : byte[]
value short
리턴 byte[]

GetBytes() 공개 메소드

public GetBytes ( uint value ) : byte[]
value uint
리턴 byte[]

GetBytes() 공개 메소드

public GetBytes ( ulong value ) : byte[]
value ulong
리턴 byte[]

GetBytes() 공개 메소드

public GetBytes ( ushort value ) : byte[]
value ushort
리턴 byte[]

Int32BitsToSingle() 공개 메소드

public Int32BitsToSingle ( int value ) : float
value int
리턴 float

Int64BitsToDouble() 공개 메소드

public Int64BitsToDouble ( long value ) : double
value long
리턴 double

SingleToInt32Bits() 공개 메소드

public SingleToInt32Bits ( float value ) : int
value float
리턴 int

ToBoolean() 공개 메소드

public ToBoolean ( byte value, int startIndex ) : bool
value byte
startIndex int
리턴 bool

ToChar() 공개 메소드

public ToChar ( byte value, int startIndex ) : char
value byte
startIndex int
리턴 char

ToDecimal() 공개 메소드

public ToDecimal ( byte value, int startIndex ) : decimal
value byte
startIndex int
리턴 decimal

ToDouble() 공개 메소드

public ToDouble ( byte value, int startIndex ) : double
value byte
startIndex int
리턴 double

ToInt16() 공개 메소드

public ToInt16 ( byte value, int startIndex ) : short
value byte
startIndex int
리턴 short

ToInt32() 공개 메소드

public ToInt32 ( byte value, int startIndex ) : int
value byte
startIndex int
리턴 int

ToInt64() 공개 메소드

public ToInt64 ( byte value, int startIndex ) : long
value byte
startIndex int
리턴 long

ToSingle() 공개 메소드

public ToSingle ( byte value, int startIndex ) : float
value byte
startIndex int
리턴 float

ToString() 공개 메소드

public ToString ( byte value ) : string
value byte
리턴 string

ToString() 공개 메소드

public ToString ( byte value, int startIndex ) : string
value byte
startIndex int
리턴 string

ToString() 공개 메소드

public ToString ( byte value, int startIndex, int length ) : string
value byte
startIndex int
length int
리턴 string

ToUInt16() 공개 메소드

public ToUInt16 ( byte value, int startIndex ) : ushort
value byte
startIndex int
리턴 ushort

ToUInt32() 공개 메소드

public ToUInt32 ( byte value, int startIndex ) : uint
value byte
startIndex int
리턴 uint

ToUInt64() 공개 메소드

public ToUInt64 ( byte value, int startIndex ) : ulong
value byte
startIndex int
리턴 ulong