Apr 5, 2026 Replies: 1 This is a library for compressing and decompressing strings. It uses the Gzip algorithm and can be used with B4A and B4J code. B4X: Copy 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 GzipString.zip 1.8 KB · Views: 180 B4A_test.zip B4A_test.zip 3.6 KB · Views: 174 GzipString_Java_Source.zip GzipString_Java_Source.zip 20.2 KB · Views: 165 Click to expand...
This is a library for compressing and decompressing strings. It uses the Gzip algorithm and can be used with B4A and B4J code. B4X: Copy 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)
Erel B4X founder Staff member Licensed User Longtime User Apr 5, 2026 #2 Thanks for sharing. I've changed the title tag to [B4X]. This tells the search engine that it is a cross platform resource. It is better like this even if B4i isn't supported.
Thanks for sharing. I've changed the title tag to [B4X]. This tells the search engine that it is a cross platform resource. It is better like this even if B4i isn't supported.