DecodeFloatValue decodes a value encoded by EncodeFloatValue.
(b []byte)
| 2927 | |
| 2928 | // DecodeFloatValue decodes a value encoded by EncodeFloatValue. |
| 2929 | func DecodeFloatValue(b []byte) (remaining []byte, f float64, err error) { |
| 2930 | b, err = decodeValueTypeAssert(b, Float) |
| 2931 | if err != nil { |
| 2932 | return b, 0, err |
| 2933 | } |
| 2934 | return DecodeUntaggedFloatValue(b) |
| 2935 | } |
| 2936 | |
| 2937 | // DecodeUntaggedFloatValue decodes a value encoded by EncodeUntaggedFloatValue. |
| 2938 | func DecodeUntaggedFloatValue(b []byte) (remaining []byte, f float64, err error) { |
no test coverage detected
searching dependent graphs…