/// <summary> /// Construct a IBitstream that reads data from a given InputStream. /// </summary> internal Bitstream(PushbackStream stream) { InitBlock(); if (stream == null) { throw new NullReferenceException("in stream is null"); } m_SourceStream = stream; CloseFrame(); }
/// <summary> /// Construct a IBitstream that reads data from a given InputStream. /// </summary> internal Bitstream(PushbackStream stream) { InitBlock(); if (stream == null) throw new NullReferenceException("in stream is null"); m_SourceStream = stream; CloseFrame(); }