We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent df109de commit 90c5a86Copy full SHA for 90c5a86
1 file changed
MLAPI/NetworkingManagerComponents/Binary/BitWriter.cs
@@ -232,6 +232,7 @@ private static void Serialize<T>(T t, byte[] writeTo, ref long bitOffset, ref bo
232
if (t is byte)
233
{
234
WriteByte(writeTo, t as byte? ?? 0, bitOffset, isAligned);
235
+ bitOffset += 8;
236
return;
237
}
238
else if (t is ushort) value = t as ushort? ?? 0;
0 commit comments