# Bytes.concat

Concatenates two or more [`Bytes.Bytes`](/api/Bytes/types#bytes).

## Imports

:::code-group
```ts [Named]
import { Bytes } from 'ox'
```

```ts [Entrypoint]
import * as Bytes from 'ox/Bytes'
```
:::

## Examples

```ts twoslash
import { Bytes } from 'ox'

const bytes = Bytes.concat(
  Bytes.from([1]),
  Bytes.from([69]),
  Bytes.from([420, 69])
)
// @log: Uint8Array [ 1, 69, 420, 69 ]
```

## Definition

```ts
function concat(
  values: readonly Bytes[],
): Bytes
```

**Source:** [src/core/Bytes.ts](https://github.com/wevm/ox/blob/main/src/core/Bytes.ts#L890)

## Parameters

### values

* **Type:** `readonly Bytes[]`

Values to concatenate.

## Return Type

Concatenated [`Bytes.Bytes`](/api/Bytes/types#bytes).

`Bytes`
