(w jsWriter, msg []byte, scratch []byte, depth int)
| 230 | } |
| 231 | |
| 232 | func rwIntBytes(w jsWriter, msg []byte, scratch []byte, depth int) ([]byte, []byte, error) { |
| 233 | i, msg, err := ReadInt64Bytes(msg) |
| 234 | if err != nil { |
| 235 | return msg, scratch, err |
| 236 | } |
| 237 | scratch = strconv.AppendInt(scratch[0:0], i, 10) |
| 238 | _, err = w.Write(scratch) |
| 239 | return msg, scratch, err |
| 240 | } |
| 241 | |
| 242 | func rwUintBytes(w jsWriter, msg []byte, scratch []byte, depth int) ([]byte, []byte, error) { |
| 243 | u, msg, err := ReadUint64Bytes(msg) |
nothing calls this directly
no test coverage detected
searching dependent graphs…