modCompressTools 函式庫 風禹科技驗證有限公司 網站 提供 .Net 原始碼

MyGZipCompressBytes 函數

說明

將指定的陣列採 GZip 壓縮轉換為 Byte 陣列

本函數之引數列表

引數 型態 位元組 選項 預設值 說明
arrBytes Byte() - 必須 (無) 欲壓縮之位元組陣列

傳回值

傳回位元組陣列

範例

MySaveBinaryFile(MyGZipCompressBytes(MyGetBinaryFile(fileSource)), fileTarget) ' emf -> emz

更進一步

  本函數為 MyGZipCompress 子函數,除有必要外,避免直接呼叫本函數運用。

基本條件

Visual Studio .Net 2005 以後相容版本 | 需同時引用modStrTools模組 | Compress.vb

請參閱

modCompressTools 函式庫