DecodeDecimalValue decodes a value encoded by EncodeDecimalValue.
(b []byte)
| 3023 | |
| 3024 | // DecodeDecimalValue decodes a value encoded by EncodeDecimalValue. |
| 3025 | func DecodeDecimalValue(b []byte) (remaining []byte, d apd.Decimal, err error) { |
| 3026 | b, err = decodeValueTypeAssert(b, Decimal) |
| 3027 | if err != nil { |
| 3028 | return b, apd.Decimal{}, err |
| 3029 | } |
| 3030 | return DecodeUntaggedDecimalValue(b) |
| 3031 | } |
| 3032 | |
| 3033 | // DecodeUntaggedBox2DValue decodes a value encoded by EncodeUntaggedBox2DValue. |
| 3034 | func DecodeUntaggedBox2DValue(b []byte) (remaining []byte, box geopb.BoundingBox, err error) { |
no test coverage detected
searching dependent graphs…