0
SQL Server에서 반환 된 바이트 배열을 C#의 스트림 개체로 변환 할 수 있습니까? 은 내가 VARBINARY (MAX) 형식으로보다 SQL 서버 다른 그것을 저장하는 다른 방법이 있나요바이트 배열을 스트림으로 변환
FileStream fs = new FileStream(@"C:\Users\sample\sample\sample.txt", FileMode.Open, FileAccess.Read);
fs.Seek(0, SeekOrigin.Begin);
BinaryReader br = new BinaryReader(fs);
Byte[] bytes = br.ReadBytes((Int32)fs.Length);
//bytes array will be saved in the database
//The following will be returned from the database and i need it to be in a stream
Stream s = (Stream)bytes;
아래 같은 것을 할 수 있도록하려면?