C# 클래스 Catfood.Shapefile.EndianBitConverter

BitConverter methods that allow a different source byte order (only a subset of BitConverter)
파일 보기 프로젝트 열기: TNOCS/csTouch 1 사용 예제들

공개 메소드들

메소드 설명
ToDouble ( byte value, int startIndex, ProvidedOrder order ) : double

Returns a double from eight bytes of a byte array

ToInt32 ( byte value, int startIndex, ProvidedOrder order ) : int

Returns an integer from four bytes of a byte array

메소드 상세

ToDouble() 공개 정적인 메소드

Returns a double from eight bytes of a byte array
Thrown if value is null Thrown if startIndex is invalid
public static ToDouble ( byte value, int startIndex, ProvidedOrder order ) : double
value byte bytes to convert
startIndex int start index in value
order ProvidedOrder byte order of value
리턴 double

ToInt32() 공개 정적인 메소드

Returns an integer from four bytes of a byte array
Thrown if value is null Thrown if startIndex is invalid
public static ToInt32 ( byte value, int startIndex, ProvidedOrder order ) : int
value byte bytes to convert
startIndex int start index in value
order ProvidedOrder byte order of value
리턴 int