From ba71f814c074dc18d7798f3f37a89cbd24588743 Mon Sep 17 00:00:00 2001 From: Oliver Booth Date: Wed, 3 Mar 2021 18:37:43 +0000 Subject: [PATCH] (#15) (#28) Fix xmldoc wording for Read methods Methods previously read "Writes [...] to" instead of "Reads [...] from" --- X10D/src/StreamExtensions/StreamExtensions.cs | 28 +++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/X10D/src/StreamExtensions/StreamExtensions.cs b/X10D/src/StreamExtensions/StreamExtensions.cs index cd2f6e1..eaa33ab 100644 --- a/X10D/src/StreamExtensions/StreamExtensions.cs +++ b/X10D/src/StreamExtensions/StreamExtensions.cs @@ -54,7 +54,7 @@ namespace X10D.StreamExtensions } /// - /// Writes a two-byte signed integer to the current stream using the system's default endian encoding, and advances + /// Reads a two-byte signed integer from the current stream using the system's default endian encoding, and advances /// the stream position by two bytes. /// /// The stream from which the value should be read. @@ -65,7 +65,7 @@ namespace X10D.StreamExtensions } /// - /// Writes a two-byte signed integer to the current stream using the specified endian encoding, and advances the + /// Reads a two-byte signed integer from the current stream using the specified endian encoding, and advances the /// stream position by two bytes. /// /// The stream from which the value should be read. @@ -78,7 +78,7 @@ namespace X10D.StreamExtensions } /// - /// Writes a four-byte signed integer to the current stream using the system's default endian encoding, and advances + /// Reads a four-byte signed integer from the current stream using the system's default endian encoding, and advances /// the stream position by four bytes. /// /// The stream from which the value should be read. @@ -89,7 +89,7 @@ namespace X10D.StreamExtensions } /// - /// Writes a four-byte signed integer to the current stream using the specified endian encoding, and advances the + /// Reads a four-byte signed integer from the current stream using the specified endian encoding, and advances the /// stream position by four bytes. /// /// The stream from which the value should be read. @@ -102,8 +102,8 @@ namespace X10D.StreamExtensions } /// - /// Writes an eight-byte signed integer to the current stream using the system's default endian encoding, and advances - /// the stream position by eight bytes. + /// Reads an eight-byte signed integer from the current stream using the system's default endian encoding, and + /// advances the stream position by eight bytes. /// /// The stream from which the value should be read. /// An eight-byte signed integer read from the stream. @@ -113,7 +113,7 @@ namespace X10D.StreamExtensions } /// - /// Writes an eight-byte signed integer to the current stream using the specified endian encoding, and advances the + /// Reads an eight-byte signed integer from the current stream using the specified endian encoding, and advances the /// stream position by eight bytes. /// /// The stream from which the value should be read. @@ -126,7 +126,7 @@ namespace X10D.StreamExtensions } /// - /// Writes a two-byte unsigned integer to the current stream using the system's default endian encoding, and advances + /// Reads a two-byte unsigned integer from the current stream using the system's default endian encoding, and advances /// the stream position by two bytes. /// /// The stream from which the value should be read. @@ -138,7 +138,7 @@ namespace X10D.StreamExtensions } /// - /// Writes a two-byte unsigned integer to the current stream using the specified endian encoding, and advances the + /// Reads a two-byte unsigned integer from the current stream using the specified endian encoding, and advances the /// stream position by two bytes. /// /// The stream from which the value should be read. @@ -152,8 +152,8 @@ namespace X10D.StreamExtensions } /// - /// Writes a four-byte unsigned integer to the current stream using the system's default endian encoding, and advances - /// the stream position by four bytes. + /// Reads a four-byte unsigned integer from the current stream using the system's default endian encoding, and + /// advances the stream position by four bytes. /// /// The stream from which the value should be read. /// An four-byte unsigned integer read from the stream. @@ -164,7 +164,7 @@ namespace X10D.StreamExtensions } /// - /// Writes a four-byte unsigned integer to the current stream using the specified endian encoding, and advances the + /// Reads a four-byte unsigned integer from the current stream using the specified endian encoding, and advances the /// stream position by four bytes. /// /// The stream from which the value should be read. @@ -178,7 +178,7 @@ namespace X10D.StreamExtensions } /// - /// Writes an eight-byte unsigned integer to the current stream using the system's default endian encoding, and + /// Reads an eight-byte unsigned integer from the current stream using the system's default endian encoding, and /// advances the stream position by eight bytes. /// /// The stream from which the value should be read. @@ -190,7 +190,7 @@ namespace X10D.StreamExtensions } /// - /// Writes an eight-byte unsigned integer to the current stream using the specified endian encoding, and advances the + /// Reads an eight-byte unsigned integer from the current stream using the specified endian encoding, and advances the /// stream position by eight bytes. /// /// The stream from which the value should be read.