diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-11-19 13:30:45 -0500 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-11-19 13:30:45 -0500 |
| commit | 4720ca7a5f3ad4bf2a04a6d28d671f03162149a9 (patch) | |
| tree | a6385a8ad6f03b869e768b91220b2033631d6764 /docs/bytes.md | |
| parent | ccada385c4fdc2dc320b0ab468c7413ff27bcc7d (diff) | |
Rename `Text.utf8_bytes` back to `Text.bytes`
Diffstat (limited to 'docs/bytes.md')
| -rw-r--r-- | docs/bytes.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/bytes.md b/docs/bytes.md index 0b618339..9453fac3 100644 --- a/docs/bytes.md +++ b/docs/bytes.md @@ -4,8 +4,8 @@ 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.utf8_bytes()`. Byte literals can be written as an -integer with a `[B]` suffix, e.g. `255[B]`. +`Path.read_bytes()` and `Text.bytes()`. Byte literals can be written using +the `Byte()` constructor: `Byte(5)`. # Byte Methods |
