Method | Description | |
---|---|---|
BeginWrite ( byte buffer, int offset, int count, AsyncCallback callback, object state ) : IAsyncResult | ||
Close ( ) : void | ||
EndWrite ( IAsyncResult asyncResult ) : void | ||
Flush ( ) : void | ||
FlushAsync ( |
||
PositionPreservingWriteOnlyStreamWrapper ( Stream stream ) : System.Threading |
Creates a wrapper for write-only (non-readable, non-seekable) streams that keeps track of Position and allows it to be read.
|
|
Read ( byte buffer, int offset, int count ) : int | ||
Seek ( long offset, SeekOrigin origin ) : long | ||
SetLength ( long value ) : void | ||
Write ( byte buffer, int offset, int count ) : void | ||
WriteAsync ( byte buffer, int offset, int count, |
||
WriteByte ( byte value ) : void |
Method | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
public BeginWrite ( byte buffer, int offset, int count, AsyncCallback callback, object state ) : IAsyncResult | ||
buffer | byte | |
offset | int | |
count | int | |
callback | AsyncCallback | |
state | object | |
return | IAsyncResult |
public EndWrite ( IAsyncResult asyncResult ) : void | ||
asyncResult | IAsyncResult | |
return | void |
public FlushAsync ( |
||
cancellationToken | ||
return | Task |
public PositionPreservingWriteOnlyStreamWrapper ( Stream stream ) : System.Threading | ||
stream | Stream | The underlying stream, which handles all actual writes. |
return | System.Threading |
public Read ( byte buffer, int offset, int count ) : int | ||
buffer | byte | |
offset | int | |
count | int | |
return | int |
public Seek ( long offset, SeekOrigin origin ) : long | ||
offset | long | |
origin | SeekOrigin | |
return | long |
public Write ( byte buffer, int offset, int count ) : void | ||
buffer | byte | |
offset | int | |
count | int | |
return | void |
public WriteAsync ( byte buffer, int offset, int count, |
||
buffer | byte | |
offset | int | |
count | int | |
cancellationToken | ||
return | Task |