B4A Library [B4X] Compress and decompress strings using Gzip

This is a library for compressing and decompressing strings. It uses the Gzip algorithm and can be used with B4A and B4J code.

B4X:
Dim gzipUtil As GzipString
Dim gzipsource As String = "This event will be called once, before the page becomes visible."
Dim gzipBT() As Byte
gzipBT = gzipUtil.gzipCompress(gzipsource)
Dim StringDecompress As String = gzipUtil.gzipDecompress(gzipBT)
 

Attachments

  • GzipString.zip
    1.8 KB · Views: 6
  • B4A_test.zip
    3.6 KB · Views: 7
  • GzipString_Java_Source.zip
    20.2 KB · Views: 7
Cookies are required to use this site. You must accept them to continue using the site. Learn more…