Write Method (buffer, offset, count)

DTF API

Copy image CopyHover image
Deployment Tools Foundation Write Method (buffer, offset, count)
Deployment Tools Foundation NamespacesMicrosoft.Deployment.Compression.ZipCrcStreamWrite(array<Byte>[]()[][], Int32, Int32)
Writes a sequence of bytes to the source stream and advances the current position within this stream by the number of bytes written.
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.Zip (Module: Microsoft.Deployment.Compression.Zip.dll) Version: 3.0.0.0 (3.11.1.2318)