From 44cd26f2cebd760a53aa4ff1b7779e718a101650 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sun, 6 Apr 2025 22:45:02 -0400 Subject: Rename Array -> List in all code and docs --- docs/serialization.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'docs/serialization.md') 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. -- cgit v1.2.3