diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-04-06 22:45:02 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-04-06 22:45:02 -0400 |
| commit | 44cd26f2cebd760a53aa4ff1b7779e718a101650 (patch) | |
| tree | 4bdc9144c6825a0c394155712d5e464ee2a61061 /docs/serialization.md | |
| parent | 3406515a44b13d0c290c28ac42bd364ce27560c7 (diff) | |
Rename Array -> List in all code and docs
Diffstat (limited to 'docs/serialization.md')
| -rw-r--r-- | docs/serialization.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/serialization.md b/docs/serialization.md index d63cb168..a938e316 100644 --- a/docs/serialization.md +++ b/docs/serialization.md @@ -11,7 +11,7 @@ original value. ## Serializing To serialize data, simply call the method `.serialized()` on any value and it -will return an array of bytes that encode the value's data: +will return a list of bytes that encode the value's data: ```tomo value := Int64(5) @@ -19,7 +19,7 @@ value := Int64(5) = [0x0A] : [Byte] ``` -Serialization produces a fairly compact representation of data as a flat array +Serialization produces a fairly compact representation of data as a flat list of bytes. In this case, a 64-bit integer can be represented in a single byte because it's a small number. @@ -72,4 +72,4 @@ only 9 bytes for the whole thing! Unfortunately, not all types can be easily serialized. In particular, types and functions cannot be serialized because their data contents cannot be easily -converted to portable byte arrays. All other datatypes _can_ be serialized. +converted to portable byte lists. All other datatypes _can_ be serialized. |
