If you need to use a raster PNG badge, change the '.svg' to '.png' in the link
Throw error if input stream length is less than expected
If the input byte-stream is shorter than what we want to read
then throw error and add tests for that.
Note: mkNull, mkString and mkI18NString don't implement these
checks at the moment
relevant lines covered
hits per line