string LoadString(Ibasa.IO.BinaryReader reader) { StringBuilder builder = new StringBuilder(); char c; while ((c = reader.ReadChar()) != '\0') { builder.Append(c); } return(builder.ToString()); }
string GetDirectoryName(uint offset) { Reader.Seek(DirectoryNameOffset + offset, SeekOrigin.Begin); StringBuilder builder = new StringBuilder(); char c; while ((c = Reader.ReadChar()) != '\0') { builder.Append(c); } return(builder.ToString()); }