Example #1
0
 /// <summary>
 /// Converts the <see cref="OneFileEntry"/> to a fully fledged managed class.
 /// </summary>
 /// <param name="fileNameSection">The address of the first entry of the file name section.</param>
 public ManagedOneFile ToManaged(OneFileName *fileNameSection)
 {
     return(new ManagedOneFile(GetFileName(fileNameSection), GetCompressedData(), true, RwVersion));
 }
Example #2
0
 /// <summary>
 /// Returns the name of the file.
 /// </summary>
 /// <param name="fileNameSection">The address of the first entry of the file name section.</param>
 public string GetFileName(OneFileName *fileNameSection)
 {
     return(fileNameSection[FileNameIndex].ToString());
 }