EditableStream.Update(Byte[], Int32, Int32, 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.
Replaces a segment in the middle of the stream with provided bytes. Effectively the same as Write except that the number of bytes deleted may not match the number inserted.
public abstract void Update (byte[] buffer, int offset, int count, int replacementCount);
abstract member Update : byte[] * int * int * int -> unit
Public MustOverride Sub Update (buffer As Byte(), offset As Integer, count As Integer, replacementCount As Integer)
Parameters
- buffer
- Byte[]
The buffer to insert bytes from
- offset
- Int32
The offset in the buffer to begin copying bytes from
- count
- Int32
The number of bytes from the buffer to insert
- replacementCount
- Int32
The number of bytes to remove from the stream before insertion