IFrontEndAdapter.ReadStream(String, Int64, Int64, Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Opens a stream for reading given the speficied stream path
public System.IO.Stream ReadStream (string streamPath, long offset, long length, bool isDownload = false);
abstract member ReadStream : string * int64 * int64 * bool -> System.IO.Stream
Public Function ReadStream (streamPath As String, offset As Long, length As Long, Optional isDownload As Boolean = false) As Stream
Parameters
- streamPath
- String
The relative path to the stream.
- offset
- Int64
The offset at which to append to the stream.
- length
- Int64
The number of bytes to append (starting at 0).
- isDownload
- Boolean
if set to true
[is download], meaning we will open a stream on the server to read from, instead of the local machine.
Returns
Exceptions
If the data to be appended is null or empty.
Applies to
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.