Source/NFX/IO/Streamer.cs
/// <summary>
/// Sets the stream as the target for output/input.
/// This call must be coupled with UnbindStream()
/// </summary>
Sets the stream as the target for output/input.
This call must be coupled with UnbindStream()
Sets the stream as the target for output / input . This call must be coupled with UnbindStream ()
public void BindStream(Stream stream)
            {
              if (stream==null)
               throw new NFXIOException(StringConsts.ARGUMENT_ERROR+GetType().FullName+".BindStream(stream==null)");
              if (m_Stream!=null && m_Stream!=stream)
               throw new NFXIOException(StringConsts.ARGUMENT_ERROR+GetType().FullName+" must unbind prior stream first");
              m_Stream = stream;
            }
public void BindStream ( Stream stream ) { if ( stream == null ) throw new NFXIOException ( StringConsts . ARGUMENT_ERROR + GetType ( ) . FullName + " " ) ; if ( m_Stream != null && m_Stream != stream ) throw new NFXIOException ( StringConsts . ARGUMENT_ERROR + GetType ( ) . FullName + " " ) ; m_Stream = stream ; }
Sets the stream as the target for output/input.
Sets the stream as the target for output / input .
stream
Stream