(dst reflect.Value, typ reflect.Type, ctx *objectExportCtx)
| 1255 | } |
| 1256 | |
| 1257 | func (o *arrayBufferObject) exportToArrayOrSlice(dst reflect.Value, typ reflect.Type, ctx *objectExportCtx) error { |
| 1258 | if typ == typeBytes { |
| 1259 | dst.Set(reflect.ValueOf(o.data)) |
| 1260 | return nil |
| 1261 | } |
| 1262 | return o.baseObject.exportToArrayOrSlice(dst, typ, ctx) |
| 1263 | } |
| 1264 | |
| 1265 | func (r *Runtime) _newArrayBuffer(proto *Object, o *Object) *arrayBufferObject { |
| 1266 | if o == nil { |
nothing calls this directly
no test coverage detected