Previously the encoder would serialize the output buffer in one copy, but this only works on little-endian systems. For big-endian systems, we now iterate through the array and convert each value if necessary before serializing it out. Closes https://github.com/protocolbuffers/upb/issues/436pull/13171/head
parent
0cb7f72c02
commit
4e8267e7e3
1 changed files with 16 additions and 3 deletions
Loading…
Reference in new issue