C# Class Server.SequentialFileWriter

Inheritance: Stream
Datei anzeigen Open project: Grimoric/RunUO.T2A Class Usage Examples

Public Methods

Method Description
Flush ( ) : void
Read ( byte buffer, int offset, int count ) : int
Seek ( long offset, SeekOrigin origin ) : long
SequentialFileWriter ( string path, SaveMetrics metrics ) : System
SetLength ( long value ) : void
Write ( byte buffer, int offset, int size ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method Description
FileCallback ( FileQueue chunk ) : void
OnWrite ( IAsyncResult asyncResult ) : void

Method Details

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

Flush() public method

public Flush ( ) : void
return void

Read() public method

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

Seek() public method

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

SequentialFileWriter() public method

public SequentialFileWriter ( string path, SaveMetrics metrics ) : System
path string
metrics SaveMetrics
return System

SetLength() public method

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

Write() public method

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