# z.Bytes.sizedBytes

Returns a byte-sized byte array schema encoded as hex.

## Imports

```ts
import { z } from 'ox/zod'

z.Bytes.sizedBytes
```

## Definition

```ts
export declare function sizedBytes(size: number): z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniCustom<Uint8Array, Uint8Array>>;
```

## Parameters

| Name | Type | Description |
| --- | --- | --- |
| `size` | `number` |  |

## Return Type

`z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniCustom<Uint8Array, Uint8Array>>`

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