Opens the reader on the specified stream.
Namespace:
Aurigma.GraphicsMill.Codecs
Assembly:
Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
Protected Friend MustOverride Sub OpenReader ( _
stream As Stream _
)
protected internal abstract void OpenReader(
Stream stream
)
Type: System.IO.Stream
Stream to open the reader on.protected override void OpenReader(System.IO.Stream stream)
{
_stream = stream;
try
{
//Initialize the reader using a custom helper method
//NOTE: this method is not a part of the CustomFormatReader class, and you
//have to add it yourself
InitializeReader();
}
catch
{
CloseReader();
throw;
}
}