1
0
mirror of https://github.com/lidgren/lidgren-network-gen3.git synced 2026-05-15 22:56:30 +09:00

Added missing XML comments

This commit is contained in:
lidgren
2012-09-24 07:19:56 +00:00
parent a28bb5439c
commit 47f8267e26
5 changed files with 46 additions and 12 deletions

View File

@@ -171,6 +171,9 @@ namespace Lidgren.Network
return;
}
/// <summary>
/// Reads an unsigned 16 bit integer
/// </summary>
[CLSCompliant(false)]
#if UNSAFE
public static unsafe ushort ReadUInt16(byte[] fromBuffer, int numberOfBits, int readBitOffset)
@@ -283,6 +286,9 @@ namespace Lidgren.Network
//[CLSCompliant(false)]
//public static ulong ReadUInt64(byte[] fromBuffer, int numberOfBits, int readBitOffset)
/// <summary>
/// Writes un unsigned 16 bit integer
/// </summary>
[CLSCompliant(false)]
public static int WriteUInt16(ushort source, int numberOfBits, byte[] destination, int destinationBitOffset)
{