Build 1.01.318.0
[This is preliminary documentation and is subject to change.]
The BinaryEncoder type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| BinaryEncoder(ServiceMessageContext) |
Creates an encoder that writes to a memory buffer.
| |
| BinaryEncoder(Stream, ServiceMessageContext) |
Creates an encoder that writes to the stream.
| |
| BinaryEncoder(array<Byte>[]()[][], Int32, Int32, ServiceMessageContext) |
Creates an encoder that writes to a fixed size memory buffer.
|
Methods
| Name | Description | |
|---|---|---|
| Close |
Completes writing and returns position in the stream.
| |
| CloseAndReturnBuffer |
Completes writing and returns the buffer (if available).
| |
| Dispose()()()() |
Frees any unmanaged resources.
| |
| Dispose(Boolean) |
An overrideable version of the Dispose.
| |
| EncodeMessage(IEncodeable) |
Encodes a message with its header.
| |
| EncodeMessage(IEncodeable, ServiceMessageContext) |
Encodes a message in a buffer.
| |
| EncodeMessage(IEncodeable, Stream, ServiceMessageContext) |
Encodes a message in a stream.
| |
| Equals | (Inherited from Object.) | |
| Finalize |
The finializer implementation.
(Overrides Object..::..Finalize()()()().) | |
| GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
| MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| PopNamespace |
Pops a namespace from the namespace stack.
| |
| PushNamespace |
Pushes a namespace onto the namespace stack.
| |
| SaveStringTable |
Saves a string table from a binary stream.
| |
| SetMappingTables |
Initializes the tables used to map namespace and server uris during encoding.
| |
| ToString | (Inherited from Object.) | |
| WriteBoolean |
Writes a boolean to the stream.
| |
| WriteBooleanArray |
Writes a boolean array to the stream.
| |
| WriteByte |
Writes a byte to the stream.
| |
| WriteByteArray |
Writes a sbyte array to the stream.
| |
| WriteByteString |
Writes a byte string to the stream.
| |
| WriteByteStringArray |
Writes a byte string array to the stream.
| |
| WriteDataValue |
Writes an DataValue array to the stream.
| |
| WriteDataValueArray |
Writes an DataValue array to the stream.
| |
| WriteDateTime |
Writes a UTC date/time to the stream.
| |
| WriteDateTimeArray |
Writes a UTC date/time array to the stream.
| |
| WriteDiagnosticInfo |
Writes an DiagnosticInfo to the stream.
| |
| WriteDiagnosticInfoArray |
Writes an DiagnosticInfo array to the stream.
| |
| WriteDouble |
Writes a double to the stream.
| |
| WriteDoubleArray |
Writes a double array to the stream.
| |
| WriteEncodeable |
Writes an encodeable object to the stream.
| |
| WriteEncodeableArray |
Writes an encodeable object array to the stream.
| |
| WriteEnumerated |
Writes an enumerated value array to the stream.
| |
| WriteEnumeratedArray |
Writes an enumerated value array to the stream.
| |
| WriteExpandedNodeId |
Writes an ExpandedNodeId to the stream.
| |
| WriteExpandedNodeIdArray |
Writes an ExpandedNodeId array to the stream.
| |
| WriteExtensionObject |
Writes an ExtensionObject to the stream.
| |
| WriteExtensionObjectArray |
Writes an extension object array to the stream.
| |
| WriteFloat |
Writes a float to the stream.
| |
| WriteFloatArray |
Writes a float array to the stream.
| |
| WriteGuid(String, Uuid) |
Writes a GUID to the stream.
| |
| WriteGuid(String, Guid) |
Writes a GUID to the stream.
| |
| WriteGuidArray(String, IList<(Of <<'(Uuid>)>>)) |
Writes a GUID array to the stream.
| |
| WriteGuidArray(String, IList<(Of <<'(Guid>)>>)) |
Writes a GUID array to the stream.
| |
| WriteInt16 |
Writes a short to the stream.
| |
| WriteInt16Array |
Writes a short array to the stream.
| |
| WriteInt32 |
Writes an int to the stream.
| |
| WriteInt32Array |
Writes a int array to the stream.
| |
| WriteInt64 |
Writes a long to the stream.
| |
| WriteInt64Array |
Writes a long array to the stream.
| |
| WriteLocalizedText |
Writes an LocalizedText to the stream.
| |
| WriteLocalizedTextArray |
Writes an LocalizedText array to the stream.
| |
| WriteNodeId |
Writes an NodeId to the stream.
| |
| WriteNodeIdArray |
Writes an NodeId array to the stream.
| |
| WriteQualifiedName |
Writes an QualifiedName to the stream.
| |
| WriteQualifiedNameArray |
Writes an QualifiedName array to the stream.
| |
| WriteRawBytes |
Writes raw bytes to the stream.
| |
| WriteSByte |
Writes a sbyte to the stream.
| |
| WriteSByteArray |
Writes a sbyte array to the stream.
| |
| WriteStatusCode |
Writes an StatusCode to the stream.
| |
| WriteStatusCodeArray |
Writes an StatusCode array to the stream.
| |
| WriteString |
Writes a string to the stream.
| |
| WriteStringArray |
Writes a string array to the stream.
| |
| WriteUInt16 |
Writes a ushort to the stream.
| |
| WriteUInt16Array |
Writes a ushort array to the stream.
| |
| WriteUInt32 |
Writes a uint to the stream.
| |
| WriteUInt32Array |
Writes a uint array to the stream.
| |
| WriteUInt64 |
Writes a ulong to the stream.
| |
| WriteUInt64Array |
Writes a ulong array to the stream.
| |
| WriteVariant |
Writes an Variant array to the stream.
| |
| WriteVariantArray |
Writes an Variant array to the stream.
| |
| WriteXmlElement |
Writes an XmlElement to the stream.
| |
| WriteXmlElementArray |
Writes an XmlElement array to the stream.
|
Properties
| Name | Description | |
|---|---|---|
| BaseStream |
Gets the stream that the encoder is writing to.
| |
| Context |
The message context associated with the encoder.
| |
| EncodingType |
The type of encoding being used.
| |
| Position |
Gets or sets the position in the stream.
|