Open GoogleCodeExporter opened 9 years ago
I just revisited the code and poked around more-- it is specific to the
BigInteger ToByteArray. It returns that zero-array because the BigInteger is
zero by default, even if uninitialized.
Requiring the OverwriteList still seems counter-intuitive and I believe it
would be better to have OverwriteList be the default and AppendList (or
something like it) be specified. However, this issue can probably be closed if
that isn't a desired design direction.
Original comment by TheMaske...@gmail.com
on 4 Mar 2014 at 5:09
Re OverwriteList vs AppendList: it is a specific part of the Google protobuf
specification that appending two buffers performs a merge, which for lists
means: append. It is therefore required that append is the default.
Original comment by marc.gravell
on 4 Mar 2014 at 7:50
Original issue reported on code.google.com by
TheMaske...@gmail.com
on 4 Mar 2014 at 3:34Attachments: