Skip to content

dont assume bytes type #25

@3052

Description

@3052

using this file:

https://github.com/protocolbuffers/protoscope/files/14941355/hello.dmp

I get this result:

> protoscope hello.dmp
1: {12: 9.155902e11i32}   # 0x53552d6ei32

while with other methods I get this result:

protobuf.Message{
   protobuf.Field{Number:1, Type:2, Value:protobuf.Bytes("en-US")},
   protobuf.Field{Number:1, Type:2, Value:protobuf.Message{
      protobuf.Field{Number:12, Type:5, Value:protobuf.Fixed32(1398091118)},
   }},
}

I think it would be useful if protoscope didn't assume type, and just return bytes as is, and also as embedded message, if it parses as such

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions