DecodeIntValue decodes a value encoded by EncodeIntValue.
(b []byte)
| 2912 | |
| 2913 | // DecodeIntValue decodes a value encoded by EncodeIntValue. |
| 2914 | func DecodeIntValue(b []byte) (remaining []byte, i int64, err error) { |
| 2915 | b, err = decodeValueTypeAssert(b, Int) |
| 2916 | if err != nil { |
| 2917 | return b, 0, err |
| 2918 | } |
| 2919 | return DecodeUntaggedIntValue(b) |
| 2920 | } |
| 2921 | |
| 2922 | // DecodeUntaggedIntValue decodes a value encoded by EncodeUntaggedIntValue. |
| 2923 | func DecodeUntaggedIntValue(b []byte) (remaining []byte, i int64, err error) { |
no test coverage detected
searching dependent graphs…