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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET