'Declaration Public Overloads Overrides Function Compress( _ ByVal buffer() As Byte, _ ByVal offset As Integer, _ ByVal count As Integer, _ ByVal endOfData As Boolean, _ ByRef compressed() As Byte _ ) As Integer
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
- An array of bytes containing the compressed data. Can be empty.
Return Value
A value representing the length of the compressed stream.