public string ReadUString(Stream s)
{
string res = "";
int count = ReadInt(s);
if (count < 0)
{
for (int i = 0; i < -count - 1; i++)
{
res += (char)s.ReadByte();
s.ReadByte();
}
s.ReadByte();
s.ReadByte();
if(verbose)
DebugLog.PrintLn("Read @0x" + (s.Position + count * 2).ToString("X8") + " String = " + res);
}
return res;
}
public void WriteUString(string text, Stream s)