You've already forked linux-packaging-mono
Imported Upstream version 4.0.1.44
Former-commit-id: 25ecb6b7e167efcf4b0500e73daf6ec78889b0b8
This commit is contained in:
@@ -253,6 +253,13 @@ namespace System.IO {
|
||||
|
||||
m_buffer [pos ++] = (byte)read_byte;
|
||||
bytes_read ++;
|
||||
if (m_encoding is UnicodeEncoding) {
|
||||
CheckBuffer (pos + 1);
|
||||
read_byte = m_stream.ReadByte();
|
||||
if (read_byte != -1) {
|
||||
m_buffer [pos++] = (byte)read_byte;
|
||||
}
|
||||
}
|
||||
|
||||
int n = m_encoding.GetChars (m_buffer, 0, pos, buffer, index + chars_read);
|
||||
if (n > 0)
|
||||
|
||||
Reference in New Issue
Block a user