How can be an array of double (1D) stored using protocol buffer?
What about multi-dimensional (2D or 3D) dense arrays?
How can be an array of double (1D) stored using protocol buffer? What about
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
An array of double would be best stored via
repeatedmakes it act as a list, allowing multiple items;packedavoids a header per item.There is no direct support for rectangular (or higher) arrays in protobuf. The closest is to store something like:
this is broadly akin to a jagged array, but with an element between each tier.