remainingLength property

int? remainingLength

Should return the remaining length of the input data. If no information about the input length is available, null should be returned.

The length is used to constrain the preallocation while decoding. Returning a garbage length can open the doors for a denial of service attack to your application. Otherwise, returning null can decrease the performance of your application.

Implementation

int? get remainingLength;