File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -27,14 +27,14 @@ import (
27
27
// It returns the number of bytes copied, which will be the minimum of the lengths of src and dst.
28
28
// CopyBytesToGo panics if src is not an Uint8Array.
29
29
func CopyBytesToGo (dst []byte , src Value ) int {
30
- return CopyBytesToGo (dst , src )
30
+ return js . CopyBytesToGo (dst , src )
31
31
}
32
32
33
33
// CopyBytesToJS copies bytes from src to the Uint8Array dst.
34
34
// It returns the number of bytes copied, which will be the minimum of the lengths of src and dst.
35
35
// CopyBytesToJS panics if dst is not an Uint8Array.
36
36
func CopyBytesToJS (dst Value , src []byte ) int {
37
- return CopyBytesToJS (dst , src )
37
+ return js . CopyBytesToJS (dst , src )
38
38
}
39
39
40
40
// Error wraps a JavaScript error.
You can’t perform that action at this time.
0 commit comments