WriteToStream() public méthode

public WriteToStream ( Stream s, bool standardonly = false, bool critonly = false ) : void
s Stream
standardonly bool
critonly bool
Résultat void
 public SteganographyProvider(PNG pngvector, bool find = true)
 {
     byte[] data;
     using (MemoryStream ms = new MemoryStream())
     {
         pngvector.WriteToStream(ms);
         data = ms.ToArray();
     }
     ProcessData(data, find);
 }
 public SteganographyProvider(PNG pngvector, bool find = true)
 {
     byte[] data;
     using (MemoryStream ms = new MemoryStream())
     {
         pngvector.WriteToStream(ms);
         data = ms.ToArray();
     }
     ProcessData(data, find);
 }
Exemple #3
0
 public override void WriteToStream(Stream s)
 {
     image.WriteToStream(s);
 }