## FileToArrayBuffer
`FileToArrayBuffer` is a component that will allow you to pick a file from the local file system. Once
loaded, this file will be emitted as a JS ArrayBuffer to the passed `onChange` callback.
**Params**
| Param | Type | Default | Description |
| --- | --- | --- | --- |
| onChange | function
|
| The function to call when the file read is complete. This function receives the file as a JS ArrayBuffer |
| [label] | String
|
| Text to use as the label for the file input |
| fileHelpText | String
|
| Text to use as help under the file input |
**Example**
```js
```
**See**
- [Uses of FileToArrayBuffer](https://github.com/hashicorp/vault/search?l=Handlebars&q=FileToArrayBuffer+OR+file-to-array-buffer)
- [FileToArrayBuffer Source Code](https://github.com/hashicorp/vault/blob/main/ui/app/components/file-to-array-buffer.js)
---