.. highlightlang:: us .. index:: mem_unpack .. _mem_unpack: mem_unpack ========== .. us.tag mem_unpack GERMAN mem New500 :ref:`mem_unpack` erzeugt einen String aus den Bytes eines Unicode-Strings. .. function:: ssString = mem_unpack(ssPackedString) .. us.return **Returnwert** *ssString* ist ein Vektor von UTF-16-Zeichen. .. us.params **Parameter** .. uparam:: ssPackedString *ssPackedString* ist ein Vektor von Bytes. .. us.example **Beispiel** :: * s = "Hello" * mem_dump(s) 00000000 48 00 65 00 6c 00 6c 00-6f 00 H.e.l.l.-o 10.0000 * sPacked = mem_pack(s) * mem_dump(sPacked) 00000000 48 65 6c 6c 6f Hello 5.0000 * mem_unpack(sPacked) Hello * sUn = mem_unpack(sPacked) * mem_dump(sUn) 00000000 48 00 65 00 6c 00 6c 00-6f 00 H.e.l.l.-o 10.0000 .. us.history **History** .. list-table:: :header-rows: 1 * - Version - Beschreibung * - 5.0.0 - Neu. .. seealso:: :ref:`uberblick-strings`, :ref:`mem_pack` :sub:`id-2046302`