aboutsummaryrefslogtreecommitdiff
path: root/SocketHttpListener/Net/WebHeaderEncoding.cs
diff options
context:
space:
mode:
Diffstat (limited to 'SocketHttpListener/Net/WebHeaderEncoding.cs')
-rw-r--r--SocketHttpListener/Net/WebHeaderEncoding.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/SocketHttpListener/Net/WebHeaderEncoding.cs b/SocketHttpListener/Net/WebHeaderEncoding.cs
index b65ff3c0d..96e0cc85d 100644
--- a/SocketHttpListener/Net/WebHeaderEncoding.cs
+++ b/SocketHttpListener/Net/WebHeaderEncoding.cs
@@ -71,7 +71,7 @@ namespace SocketHttpListener.Net
}
}
}
- internal static unsafe byte[] GetBytes(string myString)
+ internal static byte[] GetBytes(string myString)
{
byte[] bytes = new byte[myString.Length];
if (myString.Length != 0)