aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-09-15 15:35:47 -0400
committerBruce Hill <bruce@bruce-hill.com>2024-09-15 15:35:47 -0400
commit9800784d41c892a021bcde11b6af228b80b90253 (patch)
tree74a71fb7158a3d7e2a37be585ae8e15e1c1bf72a
parente422079fcced744e3a6247aeb12a09a658989072 (diff)
Update docs
-rw-r--r--docs/text.md4
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