C# Class Universal.Torrent.Client.TorrentFileStream

Inheritance: IRandomAccessStream
Mostrar archivo Open project: haroldma/Universal.Torrent Class Usage Examples

Public Methods

Method Description
CloneStream ( ) : IRandomAccessStream
Dispose ( ) : void
FlushAsync ( ) : IAsyncOperation
GetInputStreamAt ( ulong position ) : IInputStream
GetOutputStreamAt ( ulong position ) : IOutputStream
ReadAsync ( Windows.Storage.Streams.IBuffer buffer, uint count, InputStreamOptions options ) : uint>.IAsyncOperationWithProgress
Seek ( ulong position ) : void
TorrentFileStream ( TorrentFile torrentFile, IRandomAccessStream randomAccessStream ) : Windows.Foundation
WriteAsync ( Windows.Storage.Streams.IBuffer buffer ) : uint>.IAsyncOperationWithProgress

Method Details

CloneStream() public method

public CloneStream ( ) : IRandomAccessStream
return IRandomAccessStream

Dispose() public method

public Dispose ( ) : void
return void

FlushAsync() public method

public FlushAsync ( ) : IAsyncOperation
return IAsyncOperation

GetInputStreamAt() public method

public GetInputStreamAt ( ulong position ) : IInputStream
position ulong
return IInputStream

GetOutputStreamAt() public method

public GetOutputStreamAt ( ulong position ) : IOutputStream
position ulong
return IOutputStream

ReadAsync() public method

public ReadAsync ( Windows.Storage.Streams.IBuffer buffer, uint count, InputStreamOptions options ) : uint>.IAsyncOperationWithProgress
buffer Windows.Storage.Streams.IBuffer
count uint
options InputStreamOptions
return uint>.IAsyncOperationWithProgress

Seek() public method

public Seek ( ulong position ) : void
position ulong
return void

TorrentFileStream() public method

public TorrentFileStream ( TorrentFile torrentFile, IRandomAccessStream randomAccessStream ) : Windows.Foundation
torrentFile TorrentFile
randomAccessStream IRandomAccessStream
return Windows.Foundation

WriteAsync() public method

public WriteAsync ( Windows.Storage.Streams.IBuffer buffer ) : uint>.IAsyncOperationWithProgress
buffer Windows.Storage.Streams.IBuffer
return uint>.IAsyncOperationWithProgress