Click or drag to resize
EmberReader Class
Represents a reader that provides the means to read BER-encoded input, as specified in "X.690"[1] .
Inheritance Hierarchy
SystemObject
  Lawo.EmberPlusSharp.EmberEmberReader

Namespace: Lawo.EmberPlusSharp.Ember
Assembly: Lawo.EmberPlusSharp (in Lawo.EmberPlusSharp.dll) Version: 1.4.1707.27006
Syntax
C#
public sealed class EmberReader : IDisposable

The EmberReader type exposes the following members.

Constructors
  NameDescription
Public methodEmberReader(Stream)
Initializes a new instance of the EmberReader class by calling EmberReader(stream, 1024).
Public methodEmberReader(Stream, Int32)
Initializes a new instance of the EmberReader class.
Top
Properties
  NameDescription
Public propertyCanReadContents
Gets a value indicating whether contents can be read with one of the ReadContents methods.
Public propertyInnerNumber
Gets the number of the inner identifier of the data value that was read with Read.
Public propertyOuterId
Gets the outer identifier of the data value that was read with Read.
Top
Methods
  NameDescription
Public methodCopy
Reads the current data value and writes it to writer.
Public methodCopyToEndContainer
Reads data and writes it to writer until the end of the current container is reached.
Public methodDispose
Releases all resources used by the current instance of the EmberWriter class.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodRead
Advances the reader to the next data value in the stream.
Public methodReadContentsAsBoolean
Reads the contents of the current data value as a Boolean.
Public methodReadContentsAsByteArray
Reads the contents of the current data value as a Byte array.
Public methodReadContentsAsDouble
Reads the contents of the current data value as a Double.
Public methodReadContentsAsInt32Array
Reads the contents of the current data value as an Int32 array.
Public methodReadContentsAsInt64
Reads the contents of the current data value as a Int64.
Public methodReadContentsAsObject
Reads the contents of the current data value.
Public methodReadContentsAsString
Reads the contents of the current data value as a String.
Public methodSkip
Skips the contents of the current data value.
Public methodSkipToEndContainer
Skips to the end of the current container.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks
Only the subset defined in the "Ember+ Specification"[2] is supported.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Bibliography
[2] Marius Keuck and Philip Boger, Ember+ Specification, L-S-B Broadcast Technologies GmbH, https://github.com/Lawo/ember-plus/raw/master/documentation/Ember%2B%20Documentation.pdf
See Also