Write data to the stream.
Declaration Syntax
C# | C# | Visual Basic | Visual Basic | Visual C++ | Visual C++ | F# | F# |
public override void Write( byte[] buffer, int offset, int count )
public override void Write( byte[] buffer, int offset, int count )
Public Overrides Sub Write ( buffer As Byte(), offset As Integer, count As Integer )
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
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
abstract Write : buffer : byte[] * offset : int * count : int -> unit override Write : buffer : byte[] * offset : int * count : int -> unit
Remarks
If you wish to use the GZipStream to compress data while writing, you can create a GZipStream with CompressionMode.Compress, and a writable output stream. Then call Write() on that GZipStream, providing uncompressed data as input. The data sent to the output stream will be the compressed form of the data written.
A GZipStream can be used for Read() or Write(), but not both. Writing implies compression. Reading implies decompression.
Assembly: Keyoti.RapidSpell.NET4 (Module: Keyoti.RapidSpell.NET4.dll) Version: 6.2.21.412