mirror of
https://github.com/KillzXGaming/Switch-Toolbox
synced 2024-11-26 14:30:26 +00:00
20 lines
408 B
C#
20 lines
408 B
C#
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;
|
|
}
|
|
}
|
|
}
|