add AutoFlush property, and not sure why WriteCharArray() was commented out there
This commit is contained in:
parent
f439eb6513
commit
4be7554144
@ -60,8 +60,13 @@ namespace UniversalEditor.IO
|
||||
data = Transformations[i].Transform(data);
|
||||
}
|
||||
Write(data, 0, data.Length);
|
||||
|
||||
if (AutoFlush)
|
||||
Flush();
|
||||
}
|
||||
|
||||
public bool AutoFlush { get; set; } = false;
|
||||
|
||||
[CLSCompliant(false)]
|
||||
public void WriteSBytes(sbyte[] data)
|
||||
{
|
||||
@ -637,7 +642,7 @@ namespace UniversalEditor.IO
|
||||
}
|
||||
else if (objectType == typeof(Char[]))
|
||||
{
|
||||
// WriteCharArray((char[])value);
|
||||
WriteCharArray((char[])value);
|
||||
return;
|
||||
}
|
||||
else if (objectType == typeof(Single))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user