def delete_hint_streams(linearization_dict)
            hints = linearization_dict[:H]
            return unless hints.is_a?(Array)

            hints.each_slice(2) do |offset, _length|
                next unless offset.is_a?(Integer)

                stream = get_object_by_offset(offset)
                delete_object(stream.reference) if stream.is_a?(Stream)
            end
        end
def delete_hint_streams(linearization_dict)
            hints = linearization_dict[:H]
            return unless hints.is_a?(Array)

            hints.each_slice(2) do |offset, _length|
                next unless offset.is_a?(Integer)

                stream = get_object_by_offset(offset)
                delete_object(stream.reference) if stream.is_a?(Stream)
            end
        end
Strip the document from Hint streams given a linearization dictionary.