The module LZ4MBS

Online Documentation   -   Statistics   -   FAQ   -   Plugin Parts (All, Dependencies)   -   Class hierarchy

New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1

The list of the   topics,   classes,   interfaces,   controls,   modules,   global methods by category,   global methods by name,   screenshots,   licenses   and   examples.

Platforms to show: All Mac Windows Linux Cross-Platform

The module LZ4MBS

module LZ4MBS
Type Topic Plugin Version macOS Windows Linux iOS Targets
module Compression MBS Compression Plugin 19.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The module for LZ4 compression.
Example
Dim m As String = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Lorem ipsum dolor site amat."

// make sure encoding is set
m = ConvertEncoding(m, encodings.UTF8)

// compress
Dim c As String = LZ4MBS.Compress(m)

// decompress
Dim d As String = LZ4MBS.Decompress(c)

// set encoding after decompressing
d = DefineEncoding(d, encodings.UTF8)

// and check
If d = m Then
MsgBox "Text match"
Else
MsgBox "Text doesn't match"
End If

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


The items on this page are in the following plugins: MBS Compression Plugin.


💬 Ask a question or report a problem