From af9f079af858d39d1d6c1ee1a17f6e8731afb37b Mon Sep 17 00:00:00 2001 From: abledbody Date: Wed, 25 Oct 2023 17:12:19 -0400 Subject: [PATCH] Updated documentation for Serializer --- Assets/QuickBin/Serializer.cs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Assets/QuickBin/Serializer.cs b/Assets/QuickBin/Serializer.cs index 7b2ace2..cec6bbf 100644 --- a/Assets/QuickBin/Serializer.cs +++ b/Assets/QuickBin/Serializer.cs @@ -5,14 +5,17 @@ namespace QuickBin { public sealed partial class Serializer { readonly List bytes; + /// + /// The number of bytes in the Serializer. + /// public int Length => bytes.Count; /// - /// Generates a Serializer, generating an empty list with a capacity of 0. + /// Generates a Serializer, initializing an empty list with a capacity of 0. /// public Serializer() => bytes = new List(); /// - /// Generates a Serializer, generating an empty list with the specified capacity. + /// Generates a Serializer, initializing an empty list with the specified capacity. /// /// The capacity of the list. See documentation for System.Collections.Generic.List(int capacity) for details. public Serializer(int capacity) => bytes = new List(capacity);