Add getter for stream in BinaryDecoder

This commit is contained in:
AlinMoldovean
2019-04-11 13:34:42 +03:00
parent f5a64e2e46
commit 33bfecea50
@@ -125,6 +125,17 @@ namespace Opc.Ua
get { return (int)m_reader.BaseStream.Position; }
}
/// <summary>
/// Gets the stream that the decoder is reading from.
/// </summary>
public Stream BaseStream
{
get
{
return m_reader.BaseStream;
}
}
/// <summary>
/// Decodes a message from a stream.
/// </summary>