Декодировать с VarInt

Декодирует входные данные с помощью “VarInt” в соответствии с соответствующим стандартом.

Ввод: Текст (UTF-8) / ФайлРезультат: Текст

Текстовый ввод

Запустите, чтобы увидеть результат

Примеры

Turn the official three-byte Protobuf message into a named field — step 2

Show how 08 is a field tag and 96 01 represents 150; the schema supplies the field name.

Ввод

d01dda243abf602c-varint-150.bin

2 bytes

Скачать

Expected answer

150
A small field value

Ввод

4bf5122f344554c53bde2ebb.bin

1 bytes

Скачать

Expected answer

1
A 7-bit boundary

Ввод

620bfdaa346b088fb49998d9.bin

1 bytes

Скачать

Expected answer

127
The first two-byte value

Ввод

4f2e968b543c835e6648ddcc.bin

2 bytes

Скачать

Expected answer

128
The official Protobuf example

Ввод

d01dda243abf602c30136112.bin

2 bytes

Скачать

Expected answer

150
A counter of 300

Ввод

6ab5d0d823d6c395820281f3.bin

2 bytes

Скачать

Expected answer

300
A three-byte boundary

Ввод

893f4b7cac0109bc10726e83.bin

3 bytes

Скачать

Expected answer

16384

Похожие инструменты

Сеть

Справка об операции

Открыть исходную техническую документацию (English)