[**tevm**](../../README.md) *** [tevm](../../modules.md) / [utils](../README.md) / setLengthLeft # Function: setLengthLeft() > **setLengthLeft**(`msg`, `length`, `opts?`): `Uint8Array` ## Parameters | Parameter | Type | | ------ | ------ | | `msg` | `Uint8Array` | | `length` | `number` | | `opts?` | \{ `allowTruncate?`: `boolean`; \} | | `opts.allowTruncate?` | `boolean` | ## Returns `Uint8Array`