CopyToStream needs some work

This commit is contained in:
Matt Nadareski
2024-07-15 21:34:17 -04:00
parent a2e10f789b
commit e29610de4b
13 changed files with 35 additions and 32 deletions

View File

@@ -210,9 +210,9 @@ namespace SabreTools.FileTypes
/// </summary>
/// <param name="entryName">Name of the entry to be extracted</param>
/// <returns>MemoryStream representing the entry, null on error</returns>
public virtual (MemoryStream?, string?) CopyToStream(string entryName)
public virtual (Stream?, string?) CopyToStream(string entryName)
{
MemoryStream ms = new();
var ms = new MemoryStream();
string? realentry = null;
// If we have an invalid filename