1
0
mirror of synced 2024-12-01 02:27:22 +01:00
Switch-Toolbox/Switch_Toolbox_Library/IO/FileStreamStorage.cs

21 lines
408 B
C#
Raw Normal View History

using System;
using System.Collections.Generic;
using System.Linq;
using System.IO;
using System.Threading.Tasks;
namespace Toolbox.Library.IO
{
public class FileStreamStorage
{
public Stream CurrentStream;
public byte[] ToBytes() {return CurrentStream.ToArray(); }
public FileStreamStorage(Stream stream)
{
CurrentStream = stream;
}
}
}