properly set _actualLength field when creating MemoryAccessor with initial data
This commit is contained in:
parent
9bf5f62ec7
commit
b9c16fe9bb
@ -83,6 +83,7 @@ namespace UniversalEditor.Accessors
|
||||
}
|
||||
public MemoryAccessor(byte[] data, string filename = null)
|
||||
{
|
||||
_actualLength = data.Length;
|
||||
_data = data;
|
||||
mvarFileName = filename;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user