LZ Compress
Jump to navigation
Jump to search
LZ Compress is an extension by TheShovel (aka Jodie) in PenguinMod which adds compression and decompression of text. It is a wrapper for lz-string.
Blocks
There are currently 2 blocks in this extension, both being reporter blocks.
compress [Hello world!] to (Raw v)::extension reporter
decompress [҅〶惶@✰Ӏ葀] from (Raw v)::extension reporter
Compression types
Dropdown option | Internal name[Note 1] | Description |
---|---|---|
Raw | raw |
Raw bytes, without considering encoding. |
Base64 | base64 |
Encodes to or decodes from Base64. |
EncodedURIComponent | encodeduri |
URL-safe compression/decompression. |
Array Buffer | uint8array |
An array of 8-bit signed integers. |
UTF16 | utf16 |
Encodes to or decodes from UTF-16 |
Notes
- ↑ Name used by lz-string