You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
and then alter the behaviour of padding==None to raise a RuntimeException if there is any data requested which does not 'exist'. Would this be acceptable?
The text was updated successfully, but these errors were encountered:
For my use-case it would be useful for
as_binary
to raise an Exception if I ask for data which is not contained in the files I have added.At the moment, if
padding
is None, it is converted to a default of0xFF
. I would request the following (which admittedly changes the API):make the default parameters more explicit:
and then alter the behaviour of
padding==None
to raise aRuntimeException
if there is any data requested which does not 'exist'. Would this be acceptable?The text was updated successfully, but these errors were encountered: