UNPKG

minigame-std

Version:

Mini Game Standard Development Library.

16 lines (9 loc) 633 B
[**minigame-std**](../../../README.md) *** [minigame-std](../../../README.md) / [fs](../README.md) / ReadOptions # Interface: ReadOptions Options for reading files with specified encoding. ## Properties | Property | Type | Default value | Description | Defined in | | ------ | ------ | ------ | ------ | ------ | | `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/8633d80114dee6c79033ec094d8233bd8263bedc/src/std/fs/fs_define.ts#L23) |