(w jsWriter, msg []byte, scratch []byte, depth int)
| 217 | } |
| 218 | |
| 219 | func rwBoolBytes(w jsWriter, msg []byte, scratch []byte, depth int) ([]byte, []byte, error) { |
| 220 | b, msg, err := ReadBoolBytes(msg) |
| 221 | if err != nil { |
| 222 | return msg, scratch, err |
| 223 | } |
| 224 | if b { |
| 225 | _, err = w.WriteString("true") |
| 226 | return msg, scratch, err |
| 227 | } |
| 228 | _, err = w.WriteString("false") |
| 229 | return msg, scratch, err |
| 230 | } |
| 231 | |
| 232 | func rwIntBytes(w jsWriter, msg []byte, scratch []byte, depth int) ([]byte, []byte, error) { |
| 233 | i, msg, err := ReadInt64Bytes(msg) |
nothing calls this directly
no test coverage detected
searching dependent graphs…