Công cụ định dạng & Mã
Protobuf Playground
Parse, browse and encode protobuf messages.
(run decode)
Ghi chú của biên tập viên
Understanding · Tag + wire-type + value — the format that won the binary wars.
Chương phân tích chuyên sâu này hiện chỉ có sẵn bằng tiếng Anh. Công cụ chuyển đổi ở trên hoạt động bằng ngôn ngữ của bạn; bài viết giải thích dài chưa được dịch.
Các câu hỏi thường gặp
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.
Mọi người cũng tìm kiếm
Công cụ liên quan
More in this room.
- Công cụ chuyển đổi JSON sang XMLChuyển đổi JSON sang XML sạch, có cấu trúc tốt.
- Chuyển đổi CSV sang JSONBiến bảng tính thành mảng JSON - ngay lập tức.
- Chuyển đổi YAML sang JSONChuyển đổi YAML sang JSON - tức thì, chỉ trong trình duyệt.
- Chuyển đổi JSON sang ExcelBiến các mảng JSON thành bảng tính Excel.
- Chuyển đổi TOML ⇄ JSONChuyển đổi giữa TOML và JSON — cả hai chiều.
- Chuyển đổi INI ⇄ JSONChuyển đổi tệp cấu hình INI sang JSON và ngược lại.