IFrontEndAdapter.AppendToStream(String, Byte[], Int64, Int32) 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.
Appends the given byte array to the end of a given stream.
public void AppendToStream (string streamPath, byte[] data, long offset, int length);
abstract member AppendToStream : string * byte[] * int64 * int -> unit
Public Sub AppendToStream (streamPath As String, data As Byte(), offset As Long, length As Integer)
Parameters
- streamPath
- String
The relative path to the stream.
- data
- Byte[]
An array of bytes to be appended to the stream.
- offset
- Int64
The offset at which to append to the stream.
- length
- Int32
The number of bytes to append (starting at 0).
Exceptions
If the data to be appended is null or empty.