Update docs

This commit is contained in:
Bruce Hill 2024-09-15 15:35:47 -04:00
parent e422079fcc
commit 9800784d41

View File

@ -428,7 +428,7 @@ the text.
**Usage:** **Usage:**
```tomo ```tomo
bytes(text: Text) -> [Int8] utf8_bytes(text: Text) -> [Byte]
``` ```
**Parameters:** **Parameters:**
@ -436,7 +436,7 @@ bytes(text: Text) -> [Int8]
- `text`: The text to be converted to UTF8 bytes. - `text`: The text to be converted to UTF8 bytes.
**Returns:** **Returns:**
An array of bytes (`[Int8]`) representing the text in UTF8 encoding. An array of bytes (`[Byte]`) representing the text in UTF8 encoding.
**Example:** **Example:**
```tomo ```tomo