Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use preferred notation for bits #398

Merged
merged 4 commits into from
Jan 16, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions src/AsmResolver/IO/BinaryStreamReader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ public byte ReadByte()
}

/// <summary>
/// Reads a single unsigned 16 bit integer from the input stream, and advances the current offset by two.
/// Reads a single unsigned 16-bit integer from the input stream, and advances the current offset by two.
/// </summary>
/// <returns>The consumed value.</returns>
public ushort ReadUInt16()
Expand All @@ -184,7 +184,7 @@ public ushort ReadUInt16()
}

/// <summary>
/// Reads a single unsigned 32 bit integer from the input stream, and advances the current offset by four.
/// Reads a single unsigned 32-bit integer from the input stream, and advances the current offset by four.
/// </summary>
/// <returns>The consumed value.</returns>
public uint ReadUInt32()
Expand All @@ -199,7 +199,7 @@ public uint ReadUInt32()
}

/// <summary>
/// Reads a single unsigned 64 bit integer from the input stream, and advances the current offset by eight.
/// Reads a single unsigned 64-bit integer from the input stream, and advances the current offset by eight.
/// </summary>
/// <returns>The consumed value.</returns>
public ulong ReadUInt64()
Expand Down Expand Up @@ -228,7 +228,7 @@ public sbyte ReadSByte()
}

/// <summary>
/// Reads a single signed 16 bit integer from the input stream, and advances the current offset by two.
/// Reads a single signed 16-bit integer from the input stream, and advances the current offset by two.
/// </summary>
/// <returns>The consumed value.</returns>
public short ReadInt16()
Expand All @@ -241,7 +241,7 @@ public short ReadInt16()
}

/// <summary>
/// Reads a single signed 32 bit integer from the input stream, and advances the current offset by four.
/// Reads a single signed 32-bit integer from the input stream, and advances the current offset by four.
/// </summary>
/// <returns>The consumed value.</returns>
public int ReadInt32()
Expand All @@ -256,7 +256,7 @@ public int ReadInt32()
}

/// <summary>
/// Reads a single signed 64 bit integer from the input stream, and advances the current offset by eight.
/// Reads a single signed 64-bit integer from the input stream, and advances the current offset by eight.
/// </summary>
/// <returns>The consumed value.</returns>
public long ReadInt64()
Expand All @@ -275,7 +275,7 @@ public long ReadInt64()
}

/// <summary>
/// Reads a single signed 32 bit single precision floating point number from the input stream, and advances the
/// Reads a single signed 32-bit single precision floating point number from the input stream, and advances the
/// current offset by four.
/// </summary>
/// <returns>The consumed value.</returns>
Expand All @@ -286,7 +286,7 @@ public unsafe float ReadSingle()
}

/// <summary>
/// Reads a single signed 64 bit double precision floating point number from the input stream, and advances the
/// Reads a single signed 64-bit double precision floating point number from the input stream, and advances the
/// current offset by four.
/// </summary>
/// <returns>The consumed value.</returns>
Expand Down