'Declaration Public Overloads Shared Function Compress( _ ByVal buffer() As Byte, _ ByVal offset As Integer, _ ByVal count As Integer _ ) As Byte()
'Usage Dim buffer() As Byte Dim offset As Integer Dim count As Integer Dim value() As Byte value = PPMdCompressedStream.Compress(buffer, offset, count)
Parameters
- buffer
- The array of bytes to compress. Cannot be null.
- offset
- The byte offset in buffer at which to begin taking the data to compress. Cannot be less than zero.
- count
- The maximum number of bytes to be taken from buffer. Cannot be less than zero.
Return Value
An array of bytes containing the compressed data. Can be empty.