Added WriteInt32Array() method

This commit is contained in:
Michael Becker 2015-08-31 10:42:23 -04:00
parent 5f99957617
commit 29ae5b0d58

View File

@ -268,6 +268,13 @@ namespace UniversalEditor.IO
}
WriteBytes(buffer);
}
public void WriteInt32Array(int[] values)
{
for (int i = 0; i < values.Length; i++)
{
WriteInt32(values[i]);
}
}
public void WriteUInt32(uint value)
{
byte[] _buffer = BitConverter.GetBytes(value);