C# Class DatDigger.BinaryReaderEx

Inheritance: System.IO.BinaryReader
显示文件 Open project: nohbdy/ffxivmodelviewer

Public Methods

Method Description
BinaryReaderEx ( Stream input ) : System
BinaryReaderEx ( Stream input, Encoding encoding ) : System
ReadFixedLengthString ( int length ) : string
ReadFixedLengthString ( int length, Encoding encoding ) : string
ReadInt16 ( Endianness endianness ) : short
ReadInt32 ( Endianness endianness ) : int
ReadNullTerminatedString ( ) : string
ReadNullTerminatedString ( Encoding encoding ) : string
ReadSingle ( Endianness endianness ) : float
ReadUInt16 ( Endianness endianness ) : ushort
ReadUInt32 ( Endianness endianness ) : uint

Method Details

BinaryReaderEx() public method

public BinaryReaderEx ( Stream input ) : System
input Stream
return System

BinaryReaderEx() public method

public BinaryReaderEx ( Stream input, Encoding encoding ) : System
input Stream
encoding System.Text.Encoding
return System

ReadFixedLengthString() public method

public ReadFixedLengthString ( int length ) : string
length int
return string

ReadFixedLengthString() public method

public ReadFixedLengthString ( int length, Encoding encoding ) : string
length int
encoding System.Text.Encoding
return string

ReadInt16() public method

public ReadInt16 ( Endianness endianness ) : short
endianness Endianness
return short

ReadInt32() public method

public ReadInt32 ( Endianness endianness ) : int
endianness Endianness
return int

ReadNullTerminatedString() public method

public ReadNullTerminatedString ( ) : string
return string

ReadNullTerminatedString() public method

public ReadNullTerminatedString ( Encoding encoding ) : string
encoding System.Text.Encoding
return string

ReadSingle() public method

public ReadSingle ( Endianness endianness ) : float
endianness Endianness
return float

ReadUInt16() public method

public ReadUInt16 ( Endianness endianness ) : ushort
endianness Endianness
return ushort

ReadUInt32() public method

public ReadUInt32 ( Endianness endianness ) : uint
endianness Endianness
return uint