(dst jsWriter, src *Reader)
| 249 | } |
| 250 | |
| 251 | func rwFloat64(dst jsWriter, src *Reader) (int, error) { |
| 252 | f, err := src.ReadFloat64() |
| 253 | if err != nil { |
| 254 | return 0, err |
| 255 | } |
| 256 | src.scratch = strconv.AppendFloat(src.scratch[:0], f, 'f', -1, 64) |
| 257 | return dst.Write(src.scratch) |
| 258 | } |
| 259 | |
| 260 | func rwInt(dst jsWriter, src *Reader) (int, error) { |
| 261 | i, err := src.ReadInt64() |
nothing calls this directly
no test coverage detected
searching dependent graphs…