Compare commits
No commits in common. "0da6cc4242af4107807899f43b3bab480c7ea0c3" and "42d904c2f25b9ad3f7830d2087acbcdf43475ae6" have entirely different histories.
0da6cc4242
...
42d904c2f2
2 changed files with 1 additions and 8 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -1,3 +0,0 @@
|
|||
[Dd]ebug
|
||||
[Rr]elease
|
||||
*.userprefs
|
|
@ -26,6 +26,7 @@ namespace AdrianKousz.Util
|
|||
else Write((Int32)0);
|
||||
}
|
||||
|
||||
// TODO: What gets actually written here?
|
||||
public void WriteZStringRaw(string value) { WriteStringRaw(value + "\0"); }
|
||||
public void WriteZStringInt16(string value) { WriteStringInt16(value + "\0"); }
|
||||
public void WriteZStringInt32(string value) { WriteStringInt32(value + "\0"); }
|
||||
|
@ -63,10 +64,5 @@ namespace AdrianKousz.Util
|
|||
{
|
||||
return encoding.GetByteCount(value);
|
||||
}
|
||||
|
||||
public int GetZByteCount(string value)
|
||||
{
|
||||
return encoding.GetByteCount(value + "\0");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue