mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
CopyToStream needs some work
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user