# Signature.fromCompactBytes

Decodes a 64-byte compact byte representation (`r ++ s`, big-endian) into a [`Signature.Signature`](/api/Signature/types#signature) (without recovery).

## 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.fromCompactBytes(
  new Uint8Array(64)
)
// @log: { r: '0x00...0000', s: '0x00...0000' }
```

## Definition

```ts
function fromCompactBytes(
  bytes: Bytes.Bytes,
): Signature<false>
```

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

## Parameters

### bytes

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

The 64-byte compact representation.

## Return Type

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

`Signature<false>`
