Android中DatatypeConverter.printHexBinary(byte [] array)和DatatypeConverter.parseHexBinary(String str)的替代方案

[英]Alternative of DatatypeConverter.printHexBinary(byte[] array) and DatatypeConverter.parseHexBinary(String str) in Android


what are the alternative of DatatypeConverter.printHexBinary(byte[] array) and DatatypeConverter.parseHexBinary(String str) in Android. Android don't have classDef of java.xml.bind.DatatypeConverter...

Android中的DatatypeConverter.printHexBinary(byte [] array)和DatatypeConverter.parseHexBinary(String str)的替代方案是什么? Android没有java.xml.bind.DatatypeConverter的classDef ...

1 个解决方案

#1


4  

You are probably better off using the hexadecimal encoding/decoding found in the Apache commons codec library. Please make sure you are using the correct version of the library though, for more information look here

您可能最好使用Apache commons编解码器库中的十六进制编码/解码。请确保您使用的是正确版本的库,有关详细信息,请查看此处


注意!

本站翻译的文章,版权归属于本站,未经许可禁止转摘,转摘请注明本文地址:http://www.itdaan.com/blog/2013/01/01/824f8a45292c7de76c1f6655641c7b11.html



 
© 2014-2018 ITdaan.com 粤ICP备14056181号