C# 클래스 FsControl.BaseLib.BitConverter

파일 보기 프로젝트 열기: gmpl/FsControl

공개 메소드들

메소드 설명
DoubleToInt64Bits ( double value ) : long
GetBytes ( bool value ) : byte[]
GetBytes ( char value, bool isLittleEndian ) : byte[]
GetBytes ( double value, bool isLittleEndian ) : byte[]
GetBytes ( float value, bool isLittleEndian ) : byte[]
GetBytes ( int value, bool isLittleEndian ) : byte[]
GetBytes ( long value, bool isLittleEndian ) : byte[]
GetBytes ( short value, bool isLittleEndian ) : byte[]
GetBytes ( uint value, bool isLittleEndian ) : byte[]
GetBytes ( ulong value, bool isLittleEndian ) : byte[]
GetBytes ( ushort value, bool isLittleEndian ) : byte[]
Int64BitsToDouble ( long value ) : double
ToBoolean ( byte value, int startIndex ) : bool
ToChar ( byte value, int startIndex, bool isLittleEndian ) : char
ToDouble ( byte value, int startIndex, bool isLittleEndian ) : double
ToInt16 ( byte value, int startIndex, bool isLittleEndian ) : short
ToInt32 ( byte value, int startIndex, bool isLittleEndian ) : int
ToInt64 ( byte value, int startIndex, bool isLittleEndian ) : long
ToSingle ( byte value, int startIndex, bool isLittleEndian ) : float
ToString ( byte value ) : String
ToString ( byte value, int startIndex ) : String
ToString ( byte value, int startIndex, int length ) : String
ToUInt16 ( byte value, int startIndex, bool isLittleEndian ) : ushort
ToUInt32 ( byte value, int startIndex, bool isLittleEndian ) : uint
ToUInt64 ( byte value, int startIndex, bool isLittleEndian ) : ulong

비공개 메소드들

메소드 설명
GetHexValue ( int i ) : char

메소드 상세

DoubleToInt64Bits() 공개 정적인 메소드

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

GetBytes() 공개 정적인 메소드

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

GetBytes() 공개 정적인 메소드

public static GetBytes ( char value, bool isLittleEndian ) : byte[]
value char
isLittleEndian bool
리턴 byte[]

GetBytes() 공개 정적인 메소드

public static GetBytes ( double value, bool isLittleEndian ) : byte[]
value double
isLittleEndian bool
리턴 byte[]

GetBytes() 공개 정적인 메소드

public static GetBytes ( float value, bool isLittleEndian ) : byte[]
value float
isLittleEndian bool
리턴 byte[]

GetBytes() 공개 정적인 메소드

public static GetBytes ( int value, bool isLittleEndian ) : byte[]
value int
isLittleEndian bool
리턴 byte[]

GetBytes() 공개 정적인 메소드

public static GetBytes ( long value, bool isLittleEndian ) : byte[]
value long
isLittleEndian bool
리턴 byte[]

GetBytes() 공개 정적인 메소드

public static GetBytes ( short value, bool isLittleEndian ) : byte[]
value short
isLittleEndian bool
리턴 byte[]

GetBytes() 공개 정적인 메소드

public static GetBytes ( uint value, bool isLittleEndian ) : byte[]
value uint
isLittleEndian bool
리턴 byte[]

GetBytes() 공개 정적인 메소드

public static GetBytes ( ulong value, bool isLittleEndian ) : byte[]
value ulong
isLittleEndian bool
리턴 byte[]

GetBytes() 공개 정적인 메소드

public static GetBytes ( ushort value, bool isLittleEndian ) : byte[]
value ushort
isLittleEndian bool
리턴 byte[]

Int64BitsToDouble() 공개 정적인 메소드

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

ToBoolean() 공개 정적인 메소드

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

ToChar() 공개 정적인 메소드

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

ToDouble() 공개 정적인 메소드

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

ToInt16() 공개 정적인 메소드

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

ToInt32() 공개 정적인 메소드

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

ToInt64() 공개 정적인 메소드

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

ToSingle() 공개 정적인 메소드

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

ToString() 공개 정적인 메소드

public static ToString ( byte value ) : String
value byte
리턴 String

ToString() 공개 정적인 메소드

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

ToString() 공개 정적인 메소드

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

ToUInt16() 공개 정적인 메소드

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

ToUInt32() 공개 정적인 메소드

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

ToUInt64() 공개 정적인 메소드

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