---
title: bytes build
categories: |
bytes
version: 0.104.0
bytes: |
Create bytes from the arguments.
usage: |
Create bytes from the arguments.
editLink: false
contributors: false
---
<!-- This file is automatically generated. Please edit the command in https://github.com/nushell/nushell instead. -->
# `bytes build` for [bytes](/commands/categories/bytes.md)
<div class='command-title'>Create bytes from the arguments.</div>
## Signature
```> bytes build {flags} ...rest```
## Parameters
- `...rest`: List of bytes.
## Input/output types:
| input | output |
| ------- | ------ |
| nothing | binary |
## Examples
Builds binary data from 0x[01 02], 0x[03], 0x[04]
```nu
> bytes build 0x[01 02] 0x[03] 0x[04]
Length: 4 (0x4) bytes | printable whitespace ascii_other non_ascii
00000000: 01 02 03 04 ••••
```
Builds binary data from byte numbers
```nu
> bytes build 255 254 253 252
Length: 4 (0x4) bytes | printable whitespace ascii_other non_ascii
00000000: ff fe fd fc ××××
```