K2InformaticsGmbH / smpp_parser

A parser for SMPP protocol PDUs
Apache License 2.0
3 stars 1 forks source link

encode docode for ucs2 strings #68

Closed shamis closed 6 years ago

shamis commented 6 years ago

fixes #67

00 00 00 66 00 00 00 04 00 00 00 00 00 00 00 01 00 01 01 00 01 01 30 37 39 31 31 31 31 31 31 00 00 00 00 00 00 00 00 08 00 3C 00 46 00 72 00 61 00 6E 00 7A 00 F6 00 73 00 69 00 73 00 63 00 68 00 2D 00 54 00 65 00 73 00 74 00 3A 00 E2 00 20 00 C2 00 20 00 E1 00 20 00 C1 00 20 00 E0 00 20 00 C0 00 20 00 E7

the above hex decodes and encodes into the same hex code

image