Skip to content

Commit fdfe9af

Browse files
committed
Added XML warning ignores for BitReader
1 parent 2ab8ec8 commit fdfe9af

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

MLAPI/NetworkingManagerComponents/Binary/BitReader.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -353,6 +353,10 @@ public byte ReadNibble()
353353
);
354354
}
355355

356+
/// <summary>
357+
/// Reads a signed byte
358+
/// </summary>
359+
/// <returns>Value read from stream.</returns>
356360
public sbyte ReadSByte() => (sbyte)ReadByte();
357361
/// <summary>
358362
/// Read an unsigned short (UInt16) from the stream.
@@ -446,6 +450,7 @@ public ulong ReadUInt64Packed()
446450
return res;
447451
}
448452

453+
#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member
449454
// Read arrays
450455
public StringBuilder ReadString(bool oneByteChars) => ReadString(null, oneByteChars);
451456
public StringBuilder ReadString(StringBuilder builder = null, bool oneByteChars = false)
@@ -1227,5 +1232,6 @@ public double[] ReadDoubleArrayPackedDiff(double[] readTo = null, long knownLeng
12271232
bitSource.BitPosition = data;
12281233
return writeTo;
12291234
}
1235+
#pragma warning restore CS1591 // Missing XML comment for publicly visible type or member
12301236
}
12311237
}

0 commit comments

Comments
 (0)