Description
Decode four little-endian octet fields to an unsigned value.
Variable-length integer groups and protobuf keys separate continuation bits, payload, field number and wire type. Extracting one field does not validate termination, canonical integer representation or message structure.
Decode four little-endian octet fields to an unsigned value.
When to use this tool
Use Protocol Buffers Fixed32 Byte Order Field when inspecting one supplied protobuf or variable-length encoding field.
How to use the tool and how it works
- Enter bytes. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read unsigned. Use the output convention below.
Decode four little-endian octet fields to an unsigned value. Require exactly four byte-range entries; unsigned = sum(bytes[i]*256^i).1
The protobuf wire key combines a field number with a wire type; fixed32 payloads use little-endian byte order. A local token check does not validate a message or schema.2
| Input field | Meaning and units | Accepted input |
|---|---|---|
| bytes | Exactly four octets, least significant first; unsigned fixed32 output. | Required. Array of safe integer; maximum items 256. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| unsigned | Unsigned | Required. Finite number. |
{
"input": {
"bytes": [
120,
86,
52,
18
]
},
"output": {
"unsigned": 305419896
}
} Limitations and assumptions
- This is fixed32 payload arithmetic, not a field-key parser or complete message decoder.
- Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.
Alternative or Complementary methods
Use a complete schema-aware serializer/parser for full messages, signed-value rules and interoperability.
References
-
Calculation and input contract: decode/protobuf-fixed32-byte-order-field — tool.io
-
Protocol Buffers wire encoding — Protocol Buffers
Similar or alternative tools
- Decoding: Protocol Buffers Wire Key Scalar Fields
Split one bounded protobuf wire key into field and type.
- Decoding: Packed BCD Byte Digits
Decode one packed BCD byte into two digits and a decimal value.