(w jsWriter, msg []byte, scratch []byte, depth int)
| 262 | } |
| 263 | |
| 264 | func rwFloat64Bytes(w jsWriter, msg []byte, scratch []byte, depth int) ([]byte, []byte, error) { |
| 265 | var f float64 |
| 266 | var err error |
| 267 | f, msg, err = ReadFloat64Bytes(msg) |
| 268 | if err != nil { |
| 269 | return msg, scratch, err |
| 270 | } |
| 271 | scratch = strconv.AppendFloat(scratch[:0], f, 'f', -1, 64) |
| 272 | _, err = w.Write(scratch) |
| 273 | return msg, scratch, err |
| 274 | } |
| 275 | |
| 276 | func rwTimeBytes(w jsWriter, msg []byte, scratch []byte, depth int) ([]byte, []byte, error) { |
| 277 | var t time.Time |
nothing calls this directly
no test coverage detected
searching dependent graphs…