C# 클래스 MapAround.IO.StreamExtensions

파일 보기 프로젝트 열기: gkrsu/maparound.core

공개 메소드들

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