'Declaration
Public Overloads Shared Function CompressFile( _ ByVal zipOutputStream As ZipOutputStream, _ ByVal crc As Crc32, _ ByVal fileName As String, _ ByVal fileStream As Stream _ ) As Boolean
'Usage
Dim zipOutputStream As ZipOutputStream Dim crc As Crc32 Dim fileName As String Dim fileStream As Stream Dim value As Boolean value = ZipHelper.CompressFile(zipOutputStream, crc, fileName, fileStream)
public static bool CompressFile( ZipOutputStream zipOutputStream, Crc32 crc, string fileName, Stream fileStream )
Parameters
- zipOutputStream
- zip output stream
- crc
- Cyclic redundancy check
- fileName
- Name of the file
- fileStream
- file stream
Return Value
successful or not