|
SofaBuffers C/C++ 0.12.0
API Documentation
|
count: N as a capacity and the wire count M as the array's length, so nothing may be elided: [1,2,3,0,0] and [1,2,3] are different values, and trimming the tail silently shortens the array. There is no fill-back on decode either. This helper is retained only so generated code emitted before the change still compiles; new code must not call it, and it goes away with the generator that emits it. (Its C counterpart, _array_trim_count in object.c, is already gone.)