bool isValidBytes(Uint8List data) { try { verifyBytes(data); } catch (_) { return false; } return true; }