android sqlite中存放字节数组的方法,androidsqlite
Android sqlite 数据类型 关于字节数组存放:
1、将字节数组转为string类型存放
Base64.encodeToString(rawData, Base64.DEFAULT) byte[]转为string
Base64.decode(printData.getBytes(), Base64.DEFAULT) string转为byte[]
2、BLOB - The value is a blob of data, stored exactly as it was input.(BLOB数据不做任何转换,以输入形式存储。)
http://www.htsjk.com/SQLite/34377.html
www.htsjk.Com
true
http://www.htsjk.com/SQLite/34377.html
NewsArticle
android sqlite中存放字节数组的方法,androidsqlite Android sqlite 数据类型 关于字节数组存放: 1、将字节数组转为string类型存放 Base64.encodeToString(rawData, Base64.DEFAULT) byte[] 转为string ...
本站文章为和通数据库网友分享或者投稿,欢迎任何形式的转载,但请务必注明出处.
同时文章内容如有侵犯了您的权益,请联系QQ:970679559,我们会在尽快处理。