Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
SCSAコマンドからのLBU用に45バイトがあります。
0、0、4、8、0、0、0
私はこれをPythonの64ビットuuintLBUに派生させようとしています:
struct.unpack('GG', chr(0)+chr(0)+chr(4)+chr(8)+chr(0)+chr(0)+chr(0))
これは正しいです?そうでないかもしれない...
ありがとう
その値を正気のLBAとして解釈する方法は見当たりません。READ(16)ではなくREAD(12)を見ている可能性はありますか?その場合、バイトは代わりに完全に正常なLBA(0x2c30 = 11312)および長さ(0x0800 = 2048)になります。