Platforms to show: All Mac Windows Linux Cross-Platform
The module LZ4MBS
module LZ4MBS
The module for LZ4 compression.
- method Compress(InputData as MemoryBlock) as MemoryBlock
- method Compress(InputData as Ptr, Size as Integer) as MemoryBlock
- method Compress(InputData as string) as string
- method CompressFast(InputData as MemoryBlock, Acceleration as Integer = 1) as MemoryBlock
- method CompressFast(InputData as Ptr, Size as Integer, Acceleration as Integer = 1) as MemoryBlock
- method CompressFast(InputData as string, Acceleration as Integer = 1) as string
- method CompressHC(InputData as MemoryBlock, compressionLevel as Integer = 9) as MemoryBlock
- method CompressHC(InputData as Ptr, Size as Integer, compressionLevel as Integer = 9) as MemoryBlock
- method CompressHC(InputData as string, compressionLevel as Integer = 9) as string
- method Decompress(CompressedData as MemoryBlock, UncompressedSize as Integer = 0) as MemoryBlock
- method Decompress(CompressedData as Ptr, Size as Integer, UncompressedSize as Integer = 0) as MemoryBlock
- method Decompress(CompressedData as string, UncompressedSize as Integer = 0) as string
- method LibVersion as string
- 6 constants
Constants
Constant |
Value |
Description |
AccelerationDefault
|
1 |
The default acceleration level.
|
MaxInputSize
|
&h7E000000 |
Maximum input size LZ4 can handle.
|
Compression Levels
Constant |
Value |
Description |
CompressionLevelDefault
|
9 |
Default compression level.
|
CompressionLevelMax
|
12 |
Maximum compression.
|
CompressionLevelMin
|
3 |
Minimum compression.
|
CompressionLevelOptMin
|
10 |
|
Blog Entries
Videos
Release notes
- Version 21.1
- Fixed an issue with LZ4MBS decompression failing.
- Version 19.5
- Added CompressFast and CompressHC methods to LZ4MBS module and new constants.
- Version 19.4
The items on this page are in the following plugins: MBS Compression Plugin.