Opc.Ua.JsonEncoder.WriteMatrix C# (CSharp) Method

WriteMatrix() private method

Writes an DataValue array to the stream.
private WriteMatrix ( string fieldName, System.Matrix value ) : void
fieldName string
value System.Matrix
return void
        private void WriteMatrix(string fieldName, Matrix value)
        {
            PushStructure(fieldName);
            WriteVariant("Matrix", new Variant(value.Elements, new TypeInfo(value.TypeInfo.BuiltInType, ValueRanks.OneDimension)));
            WriteInt32Array("Dimensions", value.Dimensions);
            PopStructure();
        }