C# Class Patcher.IO.CustomBinaryReader

Inheritance: System.IO.BinaryReader
显示文件 Open project: unforbidable/patcher Class Usage Examples

Public Methods

Method Description
CustomBinaryReader ( Stream stream ) : System
CustomBinaryReader ( Stream stream, Encoding encoding ) : System
ReadStringFixedLength ( int length ) : string
ReadStringZeroTerminated ( ) : string

Private Methods

Method Description
InternalBufferToString ( int length ) : string

Method Details

CustomBinaryReader() public method

public CustomBinaryReader ( Stream stream ) : System
stream Stream
return System

CustomBinaryReader() public method

public CustomBinaryReader ( Stream stream, Encoding encoding ) : System
stream Stream
encoding System.Text.Encoding
return System

ReadStringFixedLength() public method

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

ReadStringZeroTerminated() public method

public ReadStringZeroTerminated ( ) : string
return string