# Signature.fromRecoveredBytes

Decodes a 65-byte recovered byte representation (`yParity ++ r ++ s`, big-endian) into a [`Signature.Signature`](/api/Signature/types#signature).

## Imports

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

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

## Examples

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

const signature = Signature.fromRecoveredBytes(
  new Uint8Array(65)
)
// @log: { r: '0x00...0000', s: '0x00...0000', yParity: 0 }
```

## Definition

```ts
function fromRecoveredBytes(
  bytes: Bytes.Bytes,
): Signature
```

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

## Parameters

### bytes

* **Type:** `Bytes.Bytes`

The 65-byte recovered representation.

## Return Type

The decoded [`Signature.Signature`](/api/Signature/types#signature).

`Signature`
