C# 클래스 Glare.Framework.BigEndianBinaryReader

A BinaryReader that reads in big-endian order.
상속: System.IO.BinaryReader
파일 보기 프로젝트 열기: Burton-Radons/Alexandria 1 사용 예제들

공개 메소드들

메소드 설명
BigEndianBinaryReader ( Stream input ) : System

Initialise the reader.

BigEndianBinaryReader ( Stream input, Encoding encoding ) : System

Initialise the reader.

Create ( ByteOrder byteOrder, Stream input ) : BinaryReader

Create a BinaryReader or a BigEndianBinaryReader based upon a ByteOrder.

ReadChar ( ) : char

Read a single character in the encoding specified when creating the reader.

ReadChars ( int count ) : char[]

Read a set of characters.

ReadDecimal ( ) : decimal

Read a decimal value.

ReadDouble ( ) : double

Read a Double value in big-endian order.

ReadInt16 ( ) : short

Read a Int16 value in big-endian order.

ReadInt32 ( ) : int

Read a Int32 value in big-endian order.

ReadInt64 ( ) : long

Read a Int64 value in big-endian order.

ReadSingle ( ) : float

Read a Single value in big-endian order.

ReadString ( ) : string

Read a string that's stored as a 7-bit coded length followed by string data in the encoding specified when creating the reader.

ReadUInt16 ( ) : ushort

Read a UInt16 value in big-endian order.

ReadUInt32 ( ) : uint

Read a UInt32 value in big-endian order.

ReadUInt64 ( ) : ulong

Read a UInt64 value in big-endian order.

메소드 상세

BigEndianBinaryReader() 공개 메소드

Initialise the reader.
public BigEndianBinaryReader ( Stream input ) : System
input Stream
리턴 System

BigEndianBinaryReader() 공개 메소드

Initialise the reader.
public BigEndianBinaryReader ( Stream input, Encoding encoding ) : System
input Stream
encoding System.Text.Encoding
리턴 System

Create() 공개 정적인 메소드

Create a BinaryReader or a BigEndianBinaryReader based upon a ByteOrder.
public static Create ( ByteOrder byteOrder, Stream input ) : BinaryReader
byteOrder ByteOrder
input Stream
리턴 System.IO.BinaryReader

ReadChar() 공개 메소드

Read a single character in the encoding specified when creating the reader.
public ReadChar ( ) : char
리턴 char

ReadChars() 공개 메소드

Read a set of characters.
public ReadChars ( int count ) : char[]
count int
리턴 char[]

ReadDecimal() 공개 메소드

Read a decimal value.
public ReadDecimal ( ) : decimal
리턴 decimal

ReadDouble() 공개 메소드

Read a Double value in big-endian order.
public ReadDouble ( ) : double
리턴 double

ReadInt16() 공개 메소드

Read a Int16 value in big-endian order.
public ReadInt16 ( ) : short
리턴 short

ReadInt32() 공개 메소드

Read a Int32 value in big-endian order.
public ReadInt32 ( ) : int
리턴 int

ReadInt64() 공개 메소드

Read a Int64 value in big-endian order.
public ReadInt64 ( ) : long
리턴 long

ReadSingle() 공개 메소드

Read a Single value in big-endian order.
public ReadSingle ( ) : float
리턴 float

ReadString() 공개 메소드

Read a string that's stored as a 7-bit coded length followed by string data in the encoding specified when creating the reader.
public ReadString ( ) : string
리턴 string

ReadUInt16() 공개 메소드

Read a UInt16 value in big-endian order.
public ReadUInt16 ( ) : ushort
리턴 ushort

ReadUInt32() 공개 메소드

Read a UInt32 value in big-endian order.
public ReadUInt32 ( ) : uint
리턴 uint

ReadUInt64() 공개 메소드

Read a UInt64 value in big-endian order.
public ReadUInt64 ( ) : ulong
리턴 ulong