MCPcopy Create free account
hub / github.com/vmihailenco/msgpack / DecodeFloat32

Method DecodeFloat32

decode_number.go:165–171  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

163}
164
165func (d *Decoder) DecodeFloat32() (float32, error) {
166 c, err := d.readCode()
167 if err != nil {
168 return 0, err
169 }
170 return d.float32(c)
171}
172
173func (d *Decoder) float32(c byte) (float32, error) {
174 if c == msgpcode.Float {

Callers 2

DecodeMethod · 0.95
decodeFloat32ValueFunction · 0.80

Calls 2

readCodeMethod · 0.95
float32Method · 0.95

Tested by

no test coverage detected