aboutsummaryrefslogtreecommitdiff
path: root/SocketHttpListener/Net/WebHeaderEncoding.cs
diff options
context:
space:
mode:
authorErwin de Haan <EraYaN@users.noreply.github.com>2019-01-25 23:38:25 +0100
committerBond-009 <bond.009@outlook.com>2019-01-27 09:26:10 +0100
commitfee42e883c6052a8065c17be8fe650834605ad39 (patch)
tree603e98067d4040acefac8f50594bff7bf713a8fa /SocketHttpListener/Net/WebHeaderEncoding.cs
parent50279be68696d2470975b600013a73e8ebbae68e (diff)
Removed unnecessary unsafe keywords.
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)