Write Method (buffer, offset, count)

DTF API

Copy image CopyHover image
Deployment Tools Foundation Write Method (buffer, offset, count)
Deployment Tools Foundation NamespacesMicrosoft.Deployment.CompressionDuplicateStreamWrite(array<Byte>[]()[][], Int32, Int32)
Writes to the source stream while maintaining a separate position and not impacting the source stream's position.
Declaration Syntax
C# Visual Basic Visual C++ F#
public override void Write(
	byte[] buffer,
	int offset,
	int count
)
Public Overrides Sub Write ( 
	buffer As Byte(),
	offset As Integer,
	count As Integer
)
public:
virtual void Write(
	array<unsigned char>^ buffer, 
	int offset, 
	int count
) override
abstract Write : 
        buffer : byte[] * 
        offset : int * 
        count : int -> unit 
override Write : 
        buffer : byte[] * 
        offset : int * 
        count : int -> unit 
Parameters
buffer (array<Byte>[]()[][])
An array of bytes. This method copies count bytes from buffer to the current stream.
offset (Int32)
The zero-based byte offset in buffer at which to begin copying bytes to the current stream.
count (Int32)
The number of bytes to be written to the current stream.

Assembly: Microsoft.Deployment.Compression (Module: Microsoft.Deployment.Compression.dll) Version: 3.0.0.0 (3.11.1.2318)