C# Class AlbLib.XLD.XLDNavigator

Inheritance: Stream, IDisposable
显示文件 Open project: IllidanS4/AlbLib Class Usage Examples

Public Methods

Method Description
Close ( ) : void
Finish ( ) : void
Flush ( ) : void
GetSubfileLength ( short index ) : int
GoToSubfile ( short index ) : XLDNavigator
Read ( byte buffer, int offset, int count ) : int
ReadByte ( ) : int
ReadSubfile ( ) : XLDSubfile
ReadSubfile ( short index ) : XLDSubfile
ReadToIndex ( Stream stream, short index ) : XLDNavigator
ReadToIndex ( string file, short index ) : XLDNavigator
Seek ( long offset, SeekOrigin origin ) : long
SetLength ( long value ) : void
Write ( byte buffer, int offset, int count ) : void
WriteByte ( byte value ) : void
XLDNavigator ( Stream input ) : System
XLDNavigator ( string file ) : System

Method Details

Close() public method

public Close ( ) : void
return void

Finish() public method

public Finish ( ) : void
return void

Flush() public method

public Flush ( ) : void
return void

GetSubfileLength() public method

public GetSubfileLength ( short index ) : int
index short
return int

GoToSubfile() public method

public GoToSubfile ( short index ) : XLDNavigator
index short
return XLDNavigator

Read() public method

public Read ( byte buffer, int offset, int count ) : int
buffer byte
offset int
count int
return int

ReadByte() public method

public ReadByte ( ) : int
return int

ReadSubfile() public method

public ReadSubfile ( ) : XLDSubfile
return XLDSubfile

ReadSubfile() public method

public ReadSubfile ( short index ) : XLDSubfile
index short
return XLDSubfile

ReadToIndex() public static method

public static ReadToIndex ( Stream stream, short index ) : XLDNavigator
stream Stream
index short
return XLDNavigator

ReadToIndex() public static method

public static ReadToIndex ( string file, short index ) : XLDNavigator
file string
index short
return XLDNavigator

Seek() public method

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

SetLength() public method

public SetLength ( long value ) : void
value long
return void

Write() public method

public Write ( byte buffer, int offset, int count ) : void
buffer byte
offset int
count int
return void

WriteByte() public method

public WriteByte ( byte value ) : void
value byte
return void

XLDNavigator() public method

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

XLDNavigator() public method

public XLDNavigator ( string file ) : System
file string
return System