diff options
Diffstat (limited to 'docs/text.md')
| -rw-r--r-- | docs/text.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/text.md b/docs/text.md index 0b2b5709..153b7838 100644 --- a/docs/text.md +++ b/docs/text.md @@ -428,7 +428,7 @@ the text. **Usage:** ```tomo -bytes(text: Text) -> [Int8] +utf8_bytes(text: Text) -> [Byte] ``` **Parameters:** @@ -436,7 +436,7 @@ bytes(text: Text) -> [Int8] - `text`: The text to be converted to UTF8 bytes. **Returns:** -An array of bytes (`[Int8]`) representing the text in UTF8 encoding. +An array of bytes (`[Byte]`) representing the text in UTF8 encoding. **Example:** ```tomo |
