1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-14 14:24:10 +02:00

Small fixes

This commit is contained in:
Brian Fiete 2019-09-07 06:40:26 -07:00
parent ff610742c5
commit 6e407b8b58
4 changed files with 5 additions and 5 deletions

View file

@ -55,7 +55,7 @@ namespace System.Diagnostics
// Creates a new AsyncStreamReader for the given stream. The // Creates a new AsyncStreamReader for the given stream. The
// character encoding is set by encoding and the buffer size, // character encoding is set by encoding and the buffer size,
// in number of 16-bit char8acters, is set by bufferSize. // in number of 16-bit characters, is set by bufferSize.
// //
internal this(Process process, Stream stream, UserCallBack callback, Encoding encoding, int32 bufferSize) internal this(Process process, Stream stream, UserCallBack callback, Encoding encoding, int32 bufferSize)
{ {
@ -181,7 +181,7 @@ namespace System.Diagnostics
// Read lines stored in StringBuilder and the buffer we just read into. // Read lines stored in StringBuilder and the buffer we just read into.
// A line is defined as a sequence of char8acters followed by // A line is defined as a sequence of characters followed by
// a carriage return ('\r'), a line feed ('\n'), or a carriage return // a carriage return ('\r'), a line feed ('\n'), or a carriage return
// immediately followed by a line feed. The resulting string does not // immediately followed by a line feed. The resulting string does not
// contain the terminating carriage return and/or line feed. The returned // contain the terminating carriage return and/or line feed. The returned

View file

@ -495,7 +495,7 @@ namespace System.IO
return byteLength; return byteLength;
} }
// Reads a line. A line is defined as a sequence of char8acters followed by // Reads a line. A line is defined as a sequence of characters followed by
// a carriage return ('\r'), a line feed ('\n'), or a carriage return // a carriage return ('\r'), a line feed ('\n'), or a carriage return
// immediately followed by a line feed. The resulting string does not // immediately followed by a line feed. The resulting string does not
// contain the terminating carriage return and/or line feed. The returned // contain the terminating carriage return and/or line feed. The returned

View file

@ -663,7 +663,7 @@ namespace System
mAllocSizeAndFlags = cStrPtrFlag; mAllocSizeAndFlags = cStrPtrFlag;
} }
// This is a fast way to remove char8acters are the beginning of a string, but only works for strings // This is a fast way to remove characters are the beginning of a string, but only works for strings
// that are not dynamically allocated. Mostly useful for parsing through Referenced strings quickly. // that are not dynamically allocated. Mostly useful for parsing through Referenced strings quickly.
public void AdjustPtr(int adjBytes) public void AdjustPtr(int adjBytes)
{ {

View file

@ -1295,7 +1295,7 @@ namespace System
//if (handle.IsInvalid) //if (handle.IsInvalid)
return handle; return handle;
} }
} }
} }