Xojo Conferences
MBSOct2019CologneDE

Platforms to show: All Mac Windows Linux Cross-Platform

The module LZ4MBS

module LZ4MBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
module Compression MBS Compression Plugin 19.4 Yes Yes Yes Yes No
Function: 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

Feedback, Comments & Corrections

Blog Entries


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

The biggest plugin in space...




Links
MBS Xojo Plugins