Сжать с 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)