Xceed Real-Time Zip for .NET Documentation
Compress Method (CoderCompressor)


Xceed.Compression Assembly > Xceed.Compression.Coder Namespace > CoderCompressor Class : Compress Method
Syntax
'Declaration
 
Public 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
'Usage
 
Dim instance As CoderCompressor
Dim buffer() As Byte
Dim offset As Integer
Dim count As Integer
Dim endOfData As Boolean
Dim compressed() As Byte
Dim value As Integer
 
value = instance.Compress(buffer, offset, count, endOfData, compressed)
public override int Compress( 
   byte[] buffer,
   int offset,
   int count,
   bool endOfData,
   out byte[] compressed
)

Parameters

buffer
offset
count
endOfData
compressed
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

CoderCompressor Class
CoderCompressor Members
Base Implementation in Compress