Added WriteCharArray() function (essentially WriteFixedLengthString, but takes a char[] instead of a string value)
This commit is contained in:
parent
db69cc2714
commit
928e3d83ee
@ -711,6 +711,14 @@ namespace UniversalEditor.IO
|
||||
WriteUInt16(values[i]);
|
||||
}
|
||||
}
|
||||
|
||||
public void WriteCharArray(char[] values)
|
||||
{
|
||||
for (int i = 0; i < values.Length; i++)
|
||||
{
|
||||
WriteChar(values[i]);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user