# str

[**utils**](https://limechain.gitbook.io/limechain-test/utils) • **Docs**

***

[near-sdk-js v2.0.0](https://limechain.gitbook.io/limechain-test/packages) / [utils](https://limechain.gitbook.io/limechain-test/utils) / str

## Function: str()

> **str**(`a`): `string`

Convert a Uint8Array to string, each uint8 to the single character of that char code

### Parameters

• **a**: `Uint8Array`

Uint8Array to convert

### Returns

`string`

result string

### Defined in

[packages/near-sdk-js/src/utils.ts:335](https://github.com/dim-daskalov/near-sdk-js/blob/c95f5e9eab115df82feb9d8dca403e7b9c8c9534/packages/near-sdk-js/src/utils.ts#L335)
