C# Class bffnt_tool.EndianBinaryReader

Inheritance: IDisposable
Exibir arquivo Open project: wmltogether/ZLD-TWW-HD-Chinese-Localization-Project

Private Properties

Property Type Description
Dispose void
FillBuffer void
GetEncodingSize int

Public Methods

Method Description
Close ( ) : void
Dispose ( ) : void
EndianBinaryReader ( Stream baseStream ) : System
EndianBinaryReader ( Stream baseStream, Endianness endianness ) : System
ReadByte ( ) : byte
ReadBytes ( int count ) : byte[]
ReadChar ( Encoding encoding ) : char
ReadChars ( Encoding encoding, int count ) : char[]
ReadDouble ( ) : double
ReadDoubles ( int count ) : double[]
ReadFx32 ( ) : System.Single
ReadFx32s ( int count ) : System.Single[]
ReadInt16 ( ) : Int16
ReadInt16s ( int count ) : System.Int16[]
ReadInt32 ( ) : Int32
ReadInt32s ( int count ) : System.Int32[]
ReadInt64 ( ) : System.Int64
ReadInt64s ( int count ) : System.Int64[]
ReadSByte ( ) : sbyte
ReadSBytes ( int count ) : sbyte[]
ReadSingle ( ) : System.Single
ReadSingles ( int count ) : System.Single[]
ReadString ( Encoding encoding, int count ) : string
ReadStringNT ( Encoding encoding ) : string
ReadUInt16 ( ) : UInt16
ReadUInt16s ( int count ) : System.UInt16[]
ReadUInt32 ( ) : UInt32
ReadUInt32s ( int count ) : System.UInt32[]
ReadUInt64 ( ) : System.UInt64
ReadUInt64s ( int count ) : System.UInt64[]

Private Methods

Method Description
Dispose ( bool disposing ) : void
FillBuffer ( int bytes, int stride ) : void
GetEncodingSize ( Encoding encoding ) : int

Method Details

Close() public method

public Close ( ) : void
return void

Dispose() public method

public Dispose ( ) : void
return void

EndianBinaryReader() public method

public EndianBinaryReader ( Stream baseStream ) : System
baseStream Stream
return System

EndianBinaryReader() public method

public EndianBinaryReader ( Stream baseStream, Endianness endianness ) : System
baseStream Stream
endianness Endianness
return System

ReadByte() public method

public ReadByte ( ) : byte
return byte

ReadBytes() public method

public ReadBytes ( int count ) : byte[]
count int
return byte[]

ReadChar() public method

public ReadChar ( Encoding encoding ) : char
encoding System.Text.Encoding
return char

ReadChars() public method

public ReadChars ( Encoding encoding, int count ) : char[]
encoding System.Text.Encoding
count int
return char[]

ReadDouble() public method

public ReadDouble ( ) : double
return double

ReadDoubles() public method

public ReadDoubles ( int count ) : double[]
count int
return double[]

ReadFx32() public method

public ReadFx32 ( ) : System.Single
return System.Single

ReadFx32s() public method

public ReadFx32s ( int count ) : System.Single[]
count int
return System.Single[]

ReadInt16() public method

public ReadInt16 ( ) : Int16
return System.Int16

ReadInt16s() public method

public ReadInt16s ( int count ) : System.Int16[]
count int
return System.Int16[]

ReadInt32() public method

public ReadInt32 ( ) : Int32
return System.Int32

ReadInt32s() public method

public ReadInt32s ( int count ) : System.Int32[]
count int
return System.Int32[]

ReadInt64() public method

public ReadInt64 ( ) : System.Int64
return System.Int64

ReadInt64s() public method

public ReadInt64s ( int count ) : System.Int64[]
count int
return System.Int64[]

ReadSByte() public method

public ReadSByte ( ) : sbyte
return sbyte

ReadSBytes() public method

public ReadSBytes ( int count ) : sbyte[]
count int
return sbyte[]

ReadSingle() public method

public ReadSingle ( ) : System.Single
return System.Single

ReadSingles() public method

public ReadSingles ( int count ) : System.Single[]
count int
return System.Single[]

ReadString() public method

public ReadString ( Encoding encoding, int count ) : string
encoding System.Text.Encoding
count int
return string

ReadStringNT() public method

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

ReadUInt16() public method

public ReadUInt16 ( ) : UInt16
return System.UInt16

ReadUInt16s() public method

public ReadUInt16s ( int count ) : System.UInt16[]
count int
return System.UInt16[]

ReadUInt32() public method

public ReadUInt32 ( ) : UInt32
return System.UInt32

ReadUInt32s() public method

public ReadUInt32s ( int count ) : System.UInt32[]
count int
return System.UInt32[]

ReadUInt64() public method

public ReadUInt64 ( ) : System.UInt64
return System.UInt64

ReadUInt64s() public method

public ReadUInt64s ( int count ) : System.UInt64[]
count int
return System.UInt64[]