DecodeIntValue decodes a value encoded by EncodeIntValue.
(b []byte)
| 2080 | |
| 2081 | // DecodeIntValue decodes a value encoded by EncodeIntValue. |
| 2082 | func DecodeIntValue(b []byte) (remaining []byte, i int64, err error) { |
| 2083 | b, err = decodeValueTypeAssert(b, Int) |
| 2084 | if err != nil { |
| 2085 | return b, 0, err |
| 2086 | } |
| 2087 | return DecodeUntaggedIntValue(b) |
| 2088 | } |
| 2089 | |
| 2090 | // DecodeUntaggedIntValue decodes a value encoded by EncodeUntaggedIntValue. |
| 2091 | func DecodeUntaggedIntValue(b []byte) (remaining []byte, i int64, err error) { |
no test coverage detected
searching dependent graphs…