Fixed Position incrementing (for about the 9001st time)
This commit is contained in:
parent
38fa0866eb
commit
ab84297edc
@ -53,12 +53,15 @@ namespace UniversalEditor.Accessors
|
||||
|
||||
internal override int ReadInternal(byte[] buffer, int start, int count)
|
||||
{
|
||||
return mvarBaseStream.Read(buffer, start, count);
|
||||
int ct = mvarBaseStream.Read(buffer, start, count);
|
||||
Position += count;
|
||||
return count;
|
||||
}
|
||||
|
||||
internal override int WriteInternal(byte[] buffer, int start, int count)
|
||||
{
|
||||
mvarBaseStream.Write(buffer, start, count);
|
||||
Position += count;
|
||||
return count;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user