a commonly used argument interface in many data types with variable lengths (strings, arrays, arrays of arrays, etc...).
when the length is set to -1, it should indicate that the forward parsing should be executed till the very end.
no other negative number should be used besides -1.
furthermore, in the backwards transformation, a length argument that originally was -1 will turn into the actual length of the object,
rather than convert back into -1.
a commonly used argument interface in many data types with variable lengths (strings, arrays, arrays of arrays, etc...).
when the
length
is set to-1
, it should indicate that theforward
parsing should be executed till the very end. no other negative number should be used besides-1
.furthermore, in the
backward
s transformation, alength
argument that originally was-1
will turn into the actual length of the object, rather than convert back into-1
.