|
|
|
@ -461,6 +461,7 @@ def decode(buf, schema=None, _depth=0, _max_depth=_MAX_NESTING_DEPTH): |
|
|
|
elif tt == "sfixed32": |
|
|
|
v = v - 0x100000000 if v >= 0x80000000 else v |
|
|
|
else: |
|
|
|
print(key, i, field, wt, spec, ns["fields"]) |
|
|
|
raise ValueError("unsupported wire type {}".format(wt)) |
|
|
|
|
|
|
|
out_key = (spec.get("name") if spec else field) |
|
|
|
|