Skip to content
This repository was archived by the owner on Sep 9, 2024. It is now read-only.
This repository was archived by the owner on Sep 9, 2024. It is now read-only.

Android例子中调用的call_tcx_api传入的hex编码,我转换成string为什么会有乱码? #98

@aihjq520

Description

@aihjq520

在Android例子中调用的call_tcx_api,传入的hex编码:
0a0f68645f73746f72655f63726561746512230a07696d746f6b656e12180a11496e7365637572652050613535773072641a03616161
转换成string是:

�hd_store_create�#
�imtoken��
�Insecure Pa55w0rd��aaa

程序没有问题,但是这个格式为什么是这样的?而且我自己写的转为hex编码格式函数程序会闪退,我要用什么方法才能转为例子的格式?希望得到一个回复。

编译环境:ubuntu18

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions