Skip to content

Commit b645ff3

Browse files
style
spelling/typo fix. whitespace after sentence in comment fix.
1 parent f2463a9 commit b645ff3

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

com.unity.netcode.gameobjects/Runtime/Serialization/FastBufferReader.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -615,10 +615,10 @@ private unsafe void ReadString(out string s, int length, bool oneByteChars)
615615

616616
/// <summary>
617617
/// Reads a string without bounds checking.
618-
/// NOTE: This mehtod ALLOCATES memory.
618+
/// NOTE: This method ALLOCATES memory.
619619
/// </summary>
620620
/// <remarks>
621-
/// This is the un-safe string read which requires invoking <see cref="TryBeginRead(int)"/> prior to invoking.<br />
621+
/// This is the un-safe string read which requires invoking <see cref="TryBeginRead(int)"/> prior to invoking this method.<br />
622622
/// Using one byte characters only allows ASCII characters.
623623
/// </remarks>
624624
/// <param name="s">Stores the read string</param>
@@ -636,10 +636,10 @@ public unsafe void ReadValue(out string s, bool oneByteChars = false)
636636

637637
/// <summary>
638638
/// Reads a string after it performs bounds checking automatically.
639-
/// NOTE: This mehtod ALLOCATES memory.
639+
/// NOTE: This method ALLOCATES memory.
640640
/// </summary>
641641
/// <remarks>
642-
/// This is the safe string read which invokes <see cref = "TryBeginReadInternal(int)"/> prior to invoking. <br />
642+
/// This is the safe string read which invokes <see cref = "TryBeginReadInternal(int)"/> prior to reading the string.<br />
643643
/// Using one byte characters only allows ASCII characters.
644644
/// </remarks>
645645
/// <param name="s">The string re the read string</param>

0 commit comments

Comments
 (0)