In [v0.31](https://github.com/loadimpact/k6/releases/tag/v0.31.0) > JS: Expanded ArrayBuffer support in most internal modules, so now you can pass ArrayBuffer to http.file(), in k6/encoding and k6/crypto functions. Relates to https://github.com/loadimpact/k6/pull/1800