C# Class BfsBinaryReader, BinaryFileSchema

Exibir arquivo Open project: Andos/BinaryFileSchema Class Usage Examples

Public Methods

Method Description
BfsBinaryReader ( BinaryReader binaryReader, Endianness fileEndianness ) : System
GetPosition ( ) : long
ReadASCIIString ( string expected ) : string
ReadBool ( ) : bool
ReadByteArray ( int count ) : byte[]
ReadInt ( ) : int
ReadLong ( ) : long
ReadSbyte ( ) : byte
ReadShort ( ) : short
ReadUTF32String ( string expected ) : string
ReadUTF7String ( string expected ) : string
ReadUbyte ( ) : byte
ReadUint ( ) : int
ReadUlong ( ) : long
ReadUshort ( ) : short
Seek ( long offset, SeekOrigin, origin ) : long
SkipBytes ( int count ) : void
TestReadCompressed ( ) : void

Method Details

BfsBinaryReader() public method

public BfsBinaryReader ( BinaryReader binaryReader, Endianness fileEndianness ) : System
binaryReader BinaryReader
fileEndianness Endianness
return System

GetPosition() public method

public GetPosition ( ) : long
return long

ReadASCIIString() public method

public ReadASCIIString ( string expected ) : string
expected string
return string

ReadBool() public method

public ReadBool ( ) : bool
return bool

ReadByteArray() public method

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

ReadInt() public method

public ReadInt ( ) : int
return int

ReadLong() public method

public ReadLong ( ) : long
return long

ReadSbyte() public method

public ReadSbyte ( ) : byte
return byte

ReadShort() public method

public ReadShort ( ) : short
return short

ReadUTF32String() public method

public ReadUTF32String ( string expected ) : string
expected string
return string

ReadUTF7String() public method

public ReadUTF7String ( string expected ) : string
expected string
return string

ReadUbyte() public method

public ReadUbyte ( ) : byte
return byte

ReadUint() public method

public ReadUint ( ) : int
return int

ReadUlong() public method

public ReadUlong ( ) : long
return long

ReadUshort() public method

public ReadUshort ( ) : short
return short

Seek() public method

public Seek ( long offset, SeekOrigin, origin ) : long
offset long
origin SeekOrigin,
return long

SkipBytes() public method

public SkipBytes ( int count ) : void
count int
return void

TestReadCompressed() public method

public TestReadCompressed ( ) : void
return void