UNPKG

minigame-std

Version:

Mini Game Standard Development Library.

18 lines (10 loc) 814 B
[**minigame-std**](../../../README.md) *** [minigame-std](../../../README.md) / [fs](../README.md) / ReadOptions # Interface: ReadOptions Defined in: [src/std/fs/fs\_define.ts:17](https://github.com/JiangJie/minigame-std/blob/fdb22241c47c2e98329a4c62befde728957e03ee/src/std/fs/fs_define.ts#L17) Options for reading files with specified encoding. ## Properties | Property | Type | Default value | Description | Defined in | | ------ | ------ | ------ | ------ | ------ | | <a id="encoding"></a> `encoding?` | [`FileEncoding`](../type-aliases/FileEncoding.md) | `'binary'` | Read file encoding type, support `binary(ArrayBuffer)` `utf8(string)` `blob(Blob)` | [src/std/fs/fs\_define.ts:23](https://github.com/JiangJie/minigame-std/blob/fdb22241c47c2e98329a4c62befde728957e03ee/src/std/fs/fs_define.ts#L23) |