UNPKG

minigame-std

Version:

Mini Game Standard Development Library.

30 lines (17 loc) 540 B
[**minigame-std**](../README.md) *** [minigame-std](../README.md) / textDecode # Function: textDecode() ```ts function textDecode(data): string ``` 将二进制数据解码为字符串。 ## Parameters | Parameter | Type | Description | | ------ | ------ | ------ | | `data` | `BufferSource` | 需要解码的二进制数据。 | ## Returns `string` 解码后的字符串。 ## Defined in [src/std/codec/mod.ts:23](https://github.com/JiangJie/minigame-std/blob/8633d80114dee6c79033ec094d8233bd8263bedc/src/std/codec/mod.ts#L23)