GZipStream.CopyTo(Stream, 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.
Reads the bytes from the current GZip stream and writes them to another stream, using the specified buffer size.
public:
override void CopyTo(System::IO::Stream ^ destination, int bufferSize);
public override void CopyTo (System.IO.Stream destination, int bufferSize);
override this.CopyTo : System.IO.Stream * int -> unit
Public Overrides Sub CopyTo (destination As Stream, bufferSize As Integer)
Parameters
- destination
- Stream
The stream to which the contents of the current GZip stream will be copied.
- bufferSize
- Int32
The size of the buffer. This value must be greater than zero. The default size is 81920.
Remarks
Copying begins at the current position in the current GZip stream, and does not reset the position of the destination stream after the copy operation is complete.
Applies to
Pripomienky
https://aka.ms/ContentUserFeedback.
Pripravujeme: V priebehu roka 2024 postupne zrušíme službu Problémy v službe GitHub ako mechanizmus pripomienok týkajúcich sa obsahu a nahradíme ju novým systémom pripomienok. Ďalšie informácie nájdete na stránke:Odoslať a zobraziť pripomienky pre