summaryrefslogtreecommitdiff
path: root/LibTSforge/TokenStore/Common.cs
diff options
context:
space:
mode:
authorWitherOrNot2025-04-07 22:19:19 +0000
committerGitHub2025-04-07 22:19:19 +0000
commit3a3ac06ca3715127475c7a2c7b3f0782e1690dfb (patch)
treef83328728b259bb6ec1e52979322377df1c7d627 /LibTSforge/TokenStore/Common.cs
parentbdd201061daf7492fb116b86a54cd349c01fbb0a (diff)
parent22bbb93e909154da94aee1b55e551038a3a37e6c (diff)
downloadTSforge-3a3ac06ca3715127475c7a2c7b3f0782e1690dfb.zip
Merge pull request #4 from massgravel/minor-fixups
Minor fixups
Diffstat (limited to 'LibTSforge/TokenStore/Common.cs')
-rw-r--r--LibTSforge/TokenStore/Common.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/LibTSforge/TokenStore/Common.cs b/LibTSforge/TokenStore/Common.cs
index 1dda7e7..d7133f2 100644
--- a/LibTSforge/TokenStore/Common.cs
+++ b/LibTSforge/TokenStore/Common.cs
@@ -14,7 +14,7 @@ namespace LibTSforge.TokenStore
public class TokenMeta
{
public string Name;
- public Dictionary<string, string> Data = new Dictionary<string, string>();
+ public readonly Dictionary<string, string> Data = new Dictionary<string, string>();
public byte[] Serialize()
{
@@ -37,7 +37,7 @@ namespace LibTSforge.TokenStore
return writer.GetBytes();
}
- public void Deserialize(byte[] data)
+ private void Deserialize(byte[] data)
{
BinaryReader reader = new BinaryReader(new MemoryStream(data));
reader.ReadInt32();