ตัวจัดรูปแบบและโค้ด
Protobuf Playground
Parse, browse and encode protobuf messages.
(run decode)
หมายเหตุจากบรรณาธิการ
Understanding · Tag + wire-type + value — the format that won the binary wars.
บทเชิงลึกนี้มีให้บริการเฉพาะภาษาอังกฤษในขณะนี้ เครื่องมือแปลงด้านบนทำงานในภาษาของคุณ บทความอธิบายแบบยาวยังไม่ได้แปล
คำถามที่พบบ่อย
Quick answers.
›What is Protobuf?
Protocol Buffers are Google's serialisation format for structured data, similar to XML or JSON but smaller and faster. It requires a schema defined in a `.proto` file to encode and decode messages.
›Is my schema or data sent anywhere?
No. The compiler and encoder run entirely within your browser session using a JavaScript implementation of the Protobuf library.
›Which versions are supported?
The playground supports both `proto2` and `proto3` syntax versions. Ensure your schema includes the `syntax = "proto3";` header if using modern features.
›How do I handle binary data?
You can paste your encoded message as a Hex string or Base64. The tool will attempt to decode it against your provided proto definition.
ผู้คนยังค้นหา
เครื่องมือที่เกี่ยวข้อง
More in this room.
- เครื่องมือแปลง JSON เป็น XMLแปลง JSON เป็น XML ที่สะอาดและจัดรูปแบบถูกต้อง
- CSV เป็น JSON Converterเปลี่ยนสเปรดชีตเป็นอาร์เรย์ JSON — ทันที
- ตัวแปลง YAML เป็น JSONแปลง YAML เป็น JSON — ทันที, เฉพาะในเบราว์เซอร์
- ตัวแปลง JSON เป็น Excelเปลี่ยนอาร์เรย์ JSON ให้เป็นสเปรดชีต Excel
- ตัวแปลง TOML ⇄ JSONแปลงระหว่าง TOML และ JSON — ทั้งสองทิศทาง
- ตัวแปลง INI ⇄ JSONแปลงไฟล์คอนฟิกูเรชัน INI เป็น JSON และกลับกัน