We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1165e17 commit 8f7503bCopy full SHA for 8f7503b
mcs/class/System/Mono.UnityTls/UnityTls.cs
@@ -4,6 +4,9 @@
4
5
namespace Mono.Unity
6
{
7
+ // Unitytls uses UInt8 to denote raw buffers and Int8/char for strings.
8
+ // Since we need to funnel all in- and outgoing strings through Encoding.UTF8 it is easier to let the Int8 alias point to Byte instead of SByte.
9
+ // The aliases here are just there to keep the semantic in the interface and make it more similar to the c original.
10
using UInt8 = Byte;
11
using Int8 = Byte;
12
0 commit comments