(dst jsWriter, src *Reader)
| 240 | } |
| 241 | |
| 242 | func rwFloat32(dst jsWriter, src *Reader) (int, error) { |
| 243 | f, err := src.ReadFloat32() |
| 244 | if err != nil { |
| 245 | return 0, err |
| 246 | } |
| 247 | src.scratch = strconv.AppendFloat(src.scratch[:0], float64(f), 'f', -1, 32) |
| 248 | return dst.Write(src.scratch) |
| 249 | } |
| 250 | |
| 251 | func rwFloat64(dst jsWriter, src *Reader) (int, error) { |
| 252 | f, err := src.ReadFloat64() |
nothing calls this directly
no test coverage detected
searching dependent graphs…