(dst reflect.Value, typ reflect.Type, ctx *objectExportCtx)
| 960 | } |
| 961 | |
| 962 | func (a *typedArrayObject) exportToArrayOrSlice(dst reflect.Value, typ reflect.Type, ctx *objectExportCtx) error { |
| 963 | if typ == typeBytes { |
| 964 | dst.Set(reflect.ValueOf(a.viewedArrayBuf.data[a.offset*a.elemSize : (a.offset+a.length)*a.elemSize])) |
| 965 | return nil |
| 966 | } |
| 967 | return a.baseObject.exportToArrayOrSlice(dst, typ, ctx) |
| 968 | } |
| 969 | |
| 970 | func (a *typedArrayObject) export(_ *objectExportCtx) interface{} { |
| 971 | return a.typedArray.export(a.offset, a.length) |
nothing calls this directly
no test coverage detected