From 1109fed17edd1f23e8086b41cd7b9baaf089a407 Mon Sep 17 00:00:00 2001 From: femsci Date: Mon, 11 Dec 2023 19:25:45 +0100 Subject: [PATCH] set IPv6Address type class to struct --- src/IPMeow.Lib/Address/IPv6Address.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/IPMeow.Lib/Address/IPv6Address.cs b/src/IPMeow.Lib/Address/IPv6Address.cs index d20b877..75f9cbe 100644 --- a/src/IPMeow.Lib/Address/IPv6Address.cs +++ b/src/IPMeow.Lib/Address/IPv6Address.cs @@ -3,7 +3,7 @@ using System.Net.Sockets; namespace IPMeow.Lib.Address; -public class IPv6Address +public readonly struct IPv6Address { public IPv6Address(byte[] address) {