Files
showbridge-docs/src/content/docs/processors/string/encode.mdx
T
2026-06-01 18:03:47 -05:00

18 lines
397 B
Plaintext

---
title: Encode String
sidebar:
label: Encode
order: 2
---
import SchemaInfo from '../../../../components/SchemaInfo.astro';
The `string.encode` processor takes a string and turns it into an array of bytes. This processor will return an error if the message being processed is not a string.
<SchemaInfo type="processor" id="string.encode"/>
### Example
```yaml
- type: string.encode
```