Add support for partial bitstream decoding (#1407) (fixes #715)