diff options
Diffstat (limited to 'docs/bytes.md')
| -rw-r--r-- | docs/bytes.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/bytes.md b/docs/bytes.md index 196d5762..f18071e2 100644 --- a/docs/bytes.md +++ b/docs/bytes.md @@ -4,7 +4,7 @@ Byte values have the type `Byte`, which corresponds to an unsigned 8-bit integer ranging from 0 to 255. It is generally recommended to use `Int8` instead of `Byte` when performing math operations, however, `Byte`s are used in API methods for `Text` and `Path` that deal with raw binary data, such as -`Path.read_bytes()` and `Text.bytes()`. Byte literals can be written using +`Path.read_bytes()` and `Text.utf8()`. Byte literals can be written using the `Byte()` constructor: `Byte(5)`. # API |
