markus / FinalService / FinalServiceBase / MarkupToPDF / Common / StreamHelper.cs @ 52b1f175
이력 | 보기 | 이력해설 | 다운로드 (337 Bytes)
1 |
using System; |
---|---|
2 |
using System.Collections.Generic; |
3 |
using System.IO; |
4 |
using System.Linq; |
5 |
using System.Text; |
6 |
|
7 |
namespace MarkupToPDF.Common |
8 |
{ |
9 |
public static class StreamHelper |
10 |
{ |
11 |
public static Stream GenerateStreamFromString(string s) |
12 |
{ |
13 |
return new MemoryStream(Encoding.UTF8.GetBytes(s)); |
14 |
} |
15 |
} |
16 |
} |