summaryrefslogtreecommitdiff
path: root/src/tools
diff options
context:
space:
mode:
authorAmy Yu <amycmyu@gmail.com>2018-06-15 11:40:54 -0700
committerAmy Yu <amycmyu@gmail.com>2018-06-15 11:40:54 -0700
commit31f6bf336774044f3e5891078f3777a3801cca87 (patch)
tree79c4d0fbd8379707177bc132a2d9437e1dad6d96 /src/tools
parent03bfe8501ffa45f713156dfe9b1e2c024d09803d (diff)
downloadcoreclr-31f6bf336774044f3e5891078f3777a3801cca87.tar.gz
coreclr-31f6bf336774044f3e5891078f3777a3801cca87.tar.bz2
coreclr-31f6bf336774044f3e5891078f3777a3801cca87.zip
Adjust method comment
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/r2rdump/NativeReader.cs10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/tools/r2rdump/NativeReader.cs b/src/tools/r2rdump/NativeReader.cs
index 9871c2eb3d..5839580d03 100644
--- a/src/tools/r2rdump/NativeReader.cs
+++ b/src/tools/r2rdump/NativeReader.cs
@@ -98,8 +98,11 @@ namespace R2RDump
// <summary>
/// Extracts bits from the image byte array
/// </summary>
+ /// <param name="image">PE image</param>
+ /// <param name="numBits">Number of bits to read</param>
+ /// <param name="bitOffset">Start bit of the value</param>
/// <remarks>
- /// The <paramref name="start"/> and <paramref name="bitOffset"/> get incremented by the size of the value
+ /// The <paramref name="bitOffset"/> gets incremented by <paramref name="numBits">
/// </remarks>
public static int ReadBits(byte[] image, int numBits, ref int bitOffset)
{
@@ -125,8 +128,11 @@ namespace R2RDump
// <summary>
/// Decode variable length numbers
/// </summary>
+ /// <param name="image">PE image</param>
+ /// <param name="len">Number of bits to read</param>
+ /// <param name="bitOffset">Start bit of the value</param>
/// <remarks>
- /// The <paramref name="start"/> and <paramref name="bitOffset"/> get incremented by the size of the value
+ /// The <paramref name="bitOffset"/> gets incremented by the size of the value
/// </remarks>
public static uint DecodeVarLengthUnsigned(byte[] image, int len, ref int bitOffset)
{