diff options
author | 2018-06-07 09:24:42 -0700 | |
---|---|---|
committer | 2018-06-07 09:24:42 -0700 | |
commit | 2020e3d5eed3029287afb6002266131d87f881e8 (patch) | |
tree | db25a99aa69868313075ce450eb761b8c5ef181f /objectivec/GPBWellKnownTypes.m | |
parent | 0456e269ee6505766474aa8d7b8bba7ac047f457 (diff) |
Graceful failure in SerializeToArray().
See https://github.com/tensorflow/tensorflow/issues/19657 for
motivation. But long story short, without this change:
m.SerializeToArray(buffer, m.ByteSizeLong());
would result in a CHECK failure if m.ByteSizeLong() returned a value
>2GB.
Diffstat (limited to 'objectivec/GPBWellKnownTypes.m')
0 files changed, 0 insertions, 0 deletions