diff options
Diffstat (limited to 'stdlib/source/unsafe')
-rw-r--r-- | stdlib/source/unsafe/lux/data/binary.lux | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/stdlib/source/unsafe/lux/data/binary.lux b/stdlib/source/unsafe/lux/data/binary.lux index cf25b655f..1e3ef2118 100644 --- a/stdlib/source/unsafe/lux/data/binary.lux +++ b/stdlib/source/unsafe/lux/data/binary.lux @@ -32,9 +32,9 @@ @.js (as_is (ffi.import: ArrayBuffer - ["[1]::[0]"]) + "[1]::[0]") (ffi.import: Uint8Array - ["[1]::[0]"]) + "[1]::[0]") (type: .public Binary Uint8Array)) @@ -76,6 +76,7 @@ (~~ (.static @.python)) (.|> <size> + [] ("python apply" (.:as ffi.Function ("python constant" "bytearray"))) (.:as ..Binary)) |