Compress/Decompress data buffers

About Monkey 2 Forums Monkey 2 Programming Help Compress/Decompress data buffers

This topic contains 4 replies, has 3 voices, and was last updated by  PixelPaladin 1 month ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #14398

    PixelPaladin
    Participant

    Is it possible to compress/decompress data from/into a data buffer?

    I would like to do something like that:

    #14417

    nerobot
    Participant

    There is the miniz module.

    And example of its usage here:

    https://github.com/blitz-research/monkey2/blob/develop/modules/std/misc/zipfile.monkey2

    #14419

    Mark Sibly
    Keymaster

    It’s probably time I added a zlib module – will do this soon so stay tuned for compress/decompress data buffer methods.

    #14430

    Mark Sibly
    Keymaster

    New zlib module and data buffer compress/decompress methods have been pushed to develop branch.

    #14465

    PixelPaladin
    Participant

    Wow – that was fast!

    I already tried it and it works like a charm:

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.