Method | Description | |
---|---|---|
ChunkedStream ( Stream stream, long chunk ) : System |
Initializes a new instance of the CmisSync.Lib.ChunkedStream class.
|
|
Flush ( ) : void |
Flush all data of the source stream.
|
|
Read ( byte buffer, int offset, int count ) : int |
Read the specified buffer from the given offset and with the length of count.
|
|
Seek ( long offset, SeekOrigin origin ) : long |
Seek the specified offset and origin.
|
|
SetLength ( long value ) : void |
Sets the length. Is not implemented at correctly. It simply passes the call to the source stream.
|
|
Write ( byte buffer, int offset, int count ) : void |
Write the specified buffer from the given offset and the count.
|
public ChunkedStream ( Stream stream, long chunk ) : System | ||
stream | Stream | Stream to chunk. |
chunk | long | The chunksize. |
return | System |
public Read ( byte buffer, int offset, int count ) : int | ||
buffer | byte | The buffer to read. |
offset | int | Offset to start reading. |
count | int | Count of bytes. |
return | int |
public Seek ( long offset, SeekOrigin origin ) : long | ||
offset | long | The Offset. |
origin | SeekOrigin | The Origin. |
return | long |
public SetLength ( long value ) : void | ||
value | long | The length to set. |
return | void |
public Write ( byte buffer, int offset, int count ) : void | ||
buffer | byte | The buffer to write. |
offset | int | Offset to start writing. |
count | int | Count of bytes. |
return | void |