<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@digitalpersona/core](./core.md) &gt; [Utf8](./core.utf8.md) &gt; [fromBytes](./core.utf8.frombytes.md)

## Utf8.fromBytes property

Converts a byte array to a UTF16 string.

<b>Signature:</b>

```typescript
static fromBytes: (bytes: number[] | Uint8Array) => Utf8String;
```
