zserio icon indicating copy to clipboard operation
zserio copied to clipboard

Docs: Add more info to EOF exception

Open fklebert opened this issue 1 year ago • 2 comments

The current description of the EOF exception says:

“Throws if end of underlying buffer has been reached (reading beyond stream). This could happen only in case of data inconsistency, e.g. if array length is defined bigger than is actually stored in the stream”

Add that this will also be thrown when a buffer is of size 0.

fklebert avatar Feb 15 '24 10:02 fklebert

OK, we will do it within scope of current milestone.

mikir avatar Feb 15 '24 10:02 mikir

This requirement is required for a safety. @mohammedRafeeque: FYI

Roland-Homeier avatar Feb 19 '24 13:02 Roland-Homeier