คำถามในหัวข้อ 'bytebuffer'
CopyPixelsFromBuffer ใช้งานได้ แต่การถอดรหัส ByteArray ของมันกลับเป็นโมฆะ
Bitmap bitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888);
bitmap.copyPixelsFromBuffer(byteBuffer);
// bitmap is valid and can be displayed
ฉันแยก ByteArray ออกจาก byteBuffer ที่ถูกต้อง...
314 มุมมอง
schedule
14.01.2024