C# Класс MapAround.IO.StreamExtensions

Показать файл Открыть проект

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

Метод Описание
ReadDouble ( this stream ) : double

Reads a 8-byte signed double using the little-endian layout from the current stream and advances the current position of the stream by eight bytes.

ReadDoubleBE ( this stream ) : double

Reads a 8-byte signed double using the big-endian layout from the current stream and advances the current position of the stream by eight bytes.

ReadInt32 ( this stream ) : int

Reads a 4-byte integer using the little-endian layout from the current stream and advances the current position of the stream by four bytes.

ReadInt32BE ( this stream ) : int

Reads a 4-byte integer using the big-endian layout from the current stream and advances the current position of the stream by four bytes.

Описание методов

ReadDouble() публичный статический Метод

Reads a 8-byte signed double using the little-endian layout from the current stream and advances the current position of the stream by eight bytes.
public static ReadDouble ( this stream ) : double
stream this The input stream
Результат double

ReadDoubleBE() публичный статический Метод

Reads a 8-byte signed double using the big-endian layout from the current stream and advances the current position of the stream by eight bytes.
public static ReadDoubleBE ( this stream ) : double
stream this The input stream
Результат double

ReadInt32() публичный статический Метод

Reads a 4-byte integer using the little-endian layout from the current stream and advances the current position of the stream by four bytes.
public static ReadInt32 ( this stream ) : int
stream this The input stream
Результат int

ReadInt32BE() публичный статический Метод

Reads a 4-byte integer using the big-endian layout from the current stream and advances the current position of the stream by four bytes.
public static ReadInt32BE ( this stream ) : int
stream this The input stream
Результат int