C# Класс Catfood.Shapefile.EndianBitConverter

BitConverter methods that allow a different source byte order (only a subset of BitConverter)
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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