C# 클래스 MapAround.IO.BigEndianBinaryWriter

Extends the BinaryWriter class to allow the writing of integers and double values in the Big Endian format.
상속: System.IO.BinaryWriter
파일 보기 프로젝트 열기: gkrsu/maparound.core 1 사용 예제들

공개 메소드들

메소드 설명
BigEndianBinaryWriter ( ) : System

Initializes a new instance of the BigEndianBinaryWriter class.

BigEndianBinaryWriter ( Stream output ) : System

Initializes a new instance of BigEndianBinaryWriter class based on the supplied stream and using UTF-8 as the encoding for strings.

BigEndianBinaryWriter ( Stream output, Encoding encoding ) : System

Initializes a new instance of BigEndianBinaryWriter class based on the supplied stream and a specific character encoding.

WriteDoubleBE ( double value ) : void

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

WriteIntBE ( int value ) : void

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

메소드 상세

BigEndianBinaryWriter() 공개 메소드

Initializes a new instance of the BigEndianBinaryWriter class.
public BigEndianBinaryWriter ( ) : System
리턴 System

BigEndianBinaryWriter() 공개 메소드

Initializes a new instance of BigEndianBinaryWriter class based on the supplied stream and using UTF-8 as the encoding for strings.
public BigEndianBinaryWriter ( Stream output ) : System
output Stream The supplied stream.
리턴 System

BigEndianBinaryWriter() 공개 메소드

Initializes a new instance of BigEndianBinaryWriter class based on the supplied stream and a specific character encoding.
public BigEndianBinaryWriter ( Stream output, Encoding encoding ) : System
output Stream The supplied stream.
encoding System.Text.Encoding The character encoding.
리턴 System

WriteDoubleBE() 공개 메소드

Reads a 8-byte signed integer using the big-endian layout from the current stream and advances the current position of the stream by two bytes.
public WriteDoubleBE ( double value ) : void
value double The four-byte signed integer to write.
리턴 void

WriteIntBE() 공개 메소드

Reads a 4-byte signed integer using the big-endian layout from the current stream and advances the current position of the stream by two bytes.
public WriteIntBE ( int value ) : void
value int The four-byte signed integer to write.
리턴 void