mirror of
https://github.com/jwetzell/showbridge-docs.git
synced 2026-08-06 22:23:38 +00:00
18 lines
397 B
Plaintext
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
|
|
```
|