Removed repeated code in DecodeInteger and made methods internal