C# Class OctoTorrent.SampleClient.NullWriter

Inheritance: PieceWriter
Show file Open project: Eskat0n/OctoTorrent

Public Methods

Method Description
Close ( TorrentFile file ) : void
Exists ( TorrentFile file ) : bool
Flush ( TorrentFile file ) : void
Move ( string oldPath, string newPath, bool ignoreExisting ) : void
Read ( TorrentFile file, long offset, byte buffer, int bufferOffset, int count ) : int
Write ( TorrentFile file, long offset, byte buffer, int bufferOffset, int count ) : void

Method Details

Close() public method

public Close ( TorrentFile file ) : void
file TorrentFile
return void

Exists() public method

public Exists ( TorrentFile file ) : bool
file TorrentFile
return bool

Flush() public method

public Flush ( TorrentFile file ) : void
file TorrentFile
return void

Move() public method

public Move ( string oldPath, string newPath, bool ignoreExisting ) : void
oldPath string
newPath string
ignoreExisting bool
return void

Read() public method

public Read ( TorrentFile file, long offset, byte buffer, int bufferOffset, int count ) : int
file TorrentFile
offset long
buffer byte
bufferOffset int
count int
return int

Write() public method

public Write ( TorrentFile file, long offset, byte buffer, int bufferOffset, int count ) : void
file TorrentFile
offset long
buffer byte
bufferOffset int
count int
return void