'Declaration Public Overloads Overridable Sub Compress( _ ByVal buffer() As Byte, _ ByVal offset As Integer, _ ByVal count As Integer, _ ByVal endOfData As Boolean, _ ByVal compressed As Stream _ )
Parameters
- buffer
- An array of bytes to compress. A maximum of count bytes are taken from this array and compressed. Cannot be null.
- offset
- The byte offset in buffer at which to begin taking the data to compress. Cannot be less than 0.
- count
- The maximum number of bytes to be taken from buffer. Cannot be less than 0.
- endOfData
- Indicates if this call ends the stream of data to compress.
- compressed
- A Stream containing the compressed data. Cannot be null.