From 9800784d41c892a021bcde11b6af228b80b90253 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sun, 15 Sep 2024 15:35:47 -0400 Subject: Update docs --- docs/text.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs/text.md') 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 -- cgit v1.2.3