(b Bytes)
| 158 | } |
| 159 | |
| 160 | func (tf TempFile) Write(b Bytes) { |
| 161 | _, e := tf.f.Write(b.b) |
| 162 | if e != nil { |
| 163 | tf.vm.ThrowError(e) |
| 164 | } |
| 165 | } |
| 166 | |
| 167 | func (tf TempFile) CopyFrom(r any) { |
| 168 | reader := GetReader(r) |
nothing calls this directly
no test coverage detected