Build 1.01.318.0

[This is preliminary documentation and is subject to change.]

The BinaryEncoder type exposes the following members.

Constructors

  NameDescription
Public methodBinaryEncoder(ServiceMessageContext)
Creates an encoder that writes to a memory buffer.
Public methodBinaryEncoder(Stream, ServiceMessageContext)
Creates an encoder that writes to the stream.
Public methodBinaryEncoder(array<Byte>[]()[][], Int32, Int32, ServiceMessageContext)
Creates an encoder that writes to a fixed size memory buffer.

Methods

  NameDescription
Public methodClose
Completes writing and returns position in the stream.
Public methodCloseAndReturnBuffer
Completes writing and returns the buffer (if available).
Public methodDispose()()()()
Frees any unmanaged resources.
Protected methodDispose(Boolean)
An overrideable version of the Dispose.
Public methodEncodeMessage(IEncodeable)
Encodes a message with its header.
Public methodStatic memberEncodeMessage(IEncodeable, ServiceMessageContext)
Encodes a message in a buffer.
Public methodStatic memberEncodeMessage(IEncodeable, Stream, ServiceMessageContext)
Encodes a message in a stream.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
The finializer implementation.
(Overrides Object..::..Finalize()()()().)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodPopNamespace
Pops a namespace from the namespace stack.
Public methodPushNamespace
Pushes a namespace onto the namespace stack.
Public methodSaveStringTable
Saves a string table from a binary stream.
Public methodSetMappingTables
Initializes the tables used to map namespace and server uris during encoding.
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Public methodWriteBoolean
Writes a boolean to the stream.
Public methodWriteBooleanArray
Writes a boolean array to the stream.
Public methodWriteByte
Writes a byte to the stream.
Public methodWriteByteArray
Writes a sbyte array to the stream.
Public methodWriteByteString
Writes a byte string to the stream.
Public methodWriteByteStringArray
Writes a byte string array to the stream.
Public methodWriteDataValue
Writes an DataValue array to the stream.
Public methodWriteDataValueArray
Writes an DataValue array to the stream.
Public methodWriteDateTime
Writes a UTC date/time to the stream.
Public methodWriteDateTimeArray
Writes a UTC date/time array to the stream.
Public methodWriteDiagnosticInfo
Writes an DiagnosticInfo to the stream.
Public methodWriteDiagnosticInfoArray
Writes an DiagnosticInfo array to the stream.
Public methodWriteDouble
Writes a double to the stream.
Public methodWriteDoubleArray
Writes a double array to the stream.
Public methodWriteEncodeable
Writes an encodeable object to the stream.
Public methodWriteEncodeableArray
Writes an encodeable object array to the stream.
Public methodWriteEnumerated
Writes an enumerated value array to the stream.
Public methodWriteEnumeratedArray
Writes an enumerated value array to the stream.
Public methodWriteExpandedNodeId
Writes an ExpandedNodeId to the stream.
Public methodWriteExpandedNodeIdArray
Writes an ExpandedNodeId array to the stream.
Public methodWriteExtensionObject
Writes an ExtensionObject to the stream.
Public methodWriteExtensionObjectArray
Writes an extension object array to the stream.
Public methodWriteFloat
Writes a float to the stream.
Public methodWriteFloatArray
Writes a float array to the stream.
Public methodWriteGuid(String, Uuid)
Writes a GUID to the stream.
Public methodWriteGuid(String, Guid)
Writes a GUID to the stream.
Public methodWriteGuidArray(String, IList<(Of <<'(Uuid>)>>))
Writes a GUID array to the stream.
Public methodWriteGuidArray(String, IList<(Of <<'(Guid>)>>))
Writes a GUID array to the stream.
Public methodWriteInt16
Writes a short to the stream.
Public methodWriteInt16Array
Writes a short array to the stream.
Public methodWriteInt32
Writes an int to the stream.
Public methodWriteInt32Array
Writes a int array to the stream.
Public methodWriteInt64
Writes a long to the stream.
Public methodWriteInt64Array
Writes a long array to the stream.
Public methodWriteLocalizedText
Writes an LocalizedText to the stream.
Public methodWriteLocalizedTextArray
Writes an LocalizedText array to the stream.
Public methodWriteNodeId
Writes an NodeId to the stream.
Public methodWriteNodeIdArray
Writes an NodeId array to the stream.
Public methodWriteQualifiedName
Writes an QualifiedName to the stream.
Public methodWriteQualifiedNameArray
Writes an QualifiedName array to the stream.
Public methodWriteRawBytes
Writes raw bytes to the stream.
Public methodWriteSByte
Writes a sbyte to the stream.
Public methodWriteSByteArray
Writes a sbyte array to the stream.
Public methodWriteStatusCode
Writes an StatusCode to the stream.
Public methodWriteStatusCodeArray
Writes an StatusCode array to the stream.
Public methodWriteString
Writes a string to the stream.
Public methodWriteStringArray
Writes a string array to the stream.
Public methodWriteUInt16
Writes a ushort to the stream.
Public methodWriteUInt16Array
Writes a ushort array to the stream.
Public methodWriteUInt32
Writes a uint to the stream.
Public methodWriteUInt32Array
Writes a uint array to the stream.
Public methodWriteUInt64
Writes a ulong to the stream.
Public methodWriteUInt64Array
Writes a ulong array to the stream.
Public methodWriteVariant
Writes an Variant array to the stream.
Public methodWriteVariantArray
Writes an Variant array to the stream.
Public methodWriteXmlElement
Writes an XmlElement to the stream.
Public methodWriteXmlElementArray
Writes an XmlElement array to the stream.

Properties

  NameDescription
Public propertyBaseStream
Gets the stream that the encoder is writing to.
Public propertyContext
The message context associated with the encoder.
Public propertyEncodingType
The type of encoding being used.
Public propertyPosition
Gets or sets the position in the stream.

See Also