Change delta encoded integers from 0xb_ to 0xd_

This change breaks binary stream compatibility.

Why do that? Maybe it looks prettier.
C++ implementation: fix a warning