> For the complete documentation index, see [llms.txt](https://refresh-cx.gitbook.io/refresh.cx-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://refresh-cx.gitbook.io/refresh.cx-docs/memory/write-bytes.md).

# Write Bytes

Writes a string's bytes at the address. Returns true on success.

## **Syntax**

```lua
refresh.Memory.WriteBytes(address, data) -> Boolean
```

## **Return**

{% hint style="success" %}
Boolean (success)
{% endhint %}

## Usage Example

```lua
refresh.Memory.WriteBytes(addr, string.char(0x90, 0x90))
```
