Opc.Ua.BinaryDecoder.BinaryDecoder C# (CSharp) Method

BinaryDecoder() public method

Creates a decoder that reads from a stream.
public BinaryDecoder ( Stream stream, ServiceMessageContext context ) : System
stream Stream
context ServiceMessageContext
return System
        public BinaryDecoder(Stream stream, ServiceMessageContext context)
        {
            if (stream == null) throw new ArgumentNullException("stream");

            m_istrm   = stream;
            m_reader  = new BinaryReader(m_istrm);
            m_context = context;
        }
        #endregion

Same methods

BinaryDecoder::BinaryDecoder ( byte buffer, ServiceMessageContext context ) : System
BinaryDecoder::BinaryDecoder ( byte buffer, int start, int count, ServiceMessageContext context ) : System