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 3624ec4 commit 020e60aCopy full SHA for 020e60a
MLAPI/NetworkingManagerComponents/Binary/BitWriter.cs
@@ -344,6 +344,7 @@ private static long GetBitCount<T>(T t)
344
foreach (var element in t as Array)
345
count += GetBitCount(element);
346
}
347
+ else if (type == typeof(Partial)) return (byte)Partial.count_info.GetValue(t);
348
else if (IsSupportedType(type))
349
{
350
long ba = t is bool ? 1 : BytesToRead(t)*8;
0 commit comments