public static FromStream ( Stream stream ) : |
||
stream | Stream | Input stream |
return |
public static ExportDataBlob FromStream(Stream stream)
{
if(stream == null || !stream.CanRead)
return null;
//Reader set to leave the stream open
using(BlobBinaryReader reader = new BlobBinaryReader(stream))
return ReadBlob(reader);
}