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)