ads-client | Beckhoff TwinCAT ADS client library for Node.js
    Preparing search index...

    Function decodePlcWstringBuffer

    • Decodes provided Buffer object to plc WSTRING using ucs2 encoding. Also removes empty bytes from the end.

      Parameters

      • data: Buffer

        Buffer data that contains plc WSTRING

      Returns string