LZ4 壓縮

使用 LZ4 壓縮 處理輸入並產生壓縮或封存資料。

輸入: 文本 (UTF-8) / 檔案結果: 二進位位元組

or drop a file here

文本輸入

執行後查看結果

範例

A newline-delimited weather reading

The inverse check preserves every original byte, including the final newline.

輸入

station=demo
celsius=-12.5

Expected checks

LZ4 Decompress recovers:
73746174696f6e3d64656d6f0a63656c736975733d2d31322e350a
A small release manifest

The inverse check preserves every original byte, including the final newline.

輸入

release=2.1.0
artifact=demo.tar.gz

Expected checks

LZ4 Decompress recovers:
72656c656173653d322e312e300a61727469666163743d64656d6f2e7461722e677a0a
A repeated status log

The inverse check preserves every original byte, including the final newline.

輸入

ready
ready
ready
ready
ready
ready
ready
ready
ready
ready
ready
ready
ready
ready
ready
ready

Expected checks

LZ4 Decompress recovers:
72656164790a72656164790a72656164790a72656164790a72656164790a72656164790a72656164790a72656164790a72656164790a72656164790a72656164790a72656164790a72656164790a72656164790a72656164790a72656164790a
An HTTP-like JSON event

The inverse check preserves every original byte, including the final newline.

輸入

{"event":"deploy","project":"demo","ready":true}

Expected checks

LZ4 Decompress recovers:
7b226576656e74223a226465706c6f79222c2270726f6a656374223a2264656d6f222c227265616479223a747275657d
A comma-and-quote CSV row

The inverse check preserves every original byte, including the final newline.

輸入

city,note
Paris,"rain, then sun"

Expected checks

LZ4 Decompress recovers:
636974792c6e6f74650a50617269732c227261696e2c207468656e2073756e220a
A release identifier

輸入

RELEASEONE

Expected checks

LZ4 Decompress recovers:
52454c454153454f4e45
A sensor label

輸入

SENSORWEST

Expected checks

LZ4 Decompress recovers:
53454e534f5257455354
A telescope target

輸入

MOONPHASES

Expected checks

LZ4 Decompress recovers:
4d4f4f4e504841534553
A toy puzzle clue

輸入

FOLLOWBIRD

Expected checks

LZ4 Decompress recovers:
464f4c4c4f5742495244
An archive marker

輸入

ARCHIVEDOC

Expected checks

LZ4 Decompress recovers:
41524348495645444f43

相关工具

壓縮

操作参考

查看原始技术文檔 (English)