@@ -0,0 +1,869 @@
+package net.alphadev.usbstorage.scsi;%0A%0Aimport java.nio.ByteBuffer;%0A%0A/**%0A * Created by jan on 27.08.14.%0A */%0Apublic class CommandStatusWrapper %7B%0A    private byte%5B%5D mSignature;%0A    private int mTag;%0A    private int mDataResidue;%0A    private byte mStatus;%0A%0A    public CommandStatusWrapper(byte%5B%5D data) %7B%0A        mSignature%5B0x0%5D = data%5B0x0%5D;%0A        mSignature%5B0x1%5D = data%5B0x1%5D;%0A        mSignature%5B0x2%5D = data%5B0x2%5D;%0A        mSignature%5B0x3%5D = data%5B0x3%5D;%0A%0A        mTag = ByteBuffer.wrap(data, 0x4, 4).getInt();%0A        mDataResidue = ByteBuffer.wrap(data, 0x8, 4).getInt();%0A        mStatus = data%5B0xc%5D;%0A    %7D%0A%0A    public String getSignature() %7B%0A        return mSignature.toString();%0A    %7D%0A%0A    public int getTag() %7B%0A        return mTag;%0A    %7D%0A%0A    public int getDataResidue() %7B%0A        return mDataResidue;%0A    %7D%0A%0A    public byte getStatus() %7B%0A        return mStatus;%0A    %7D%0A%7D%0A

add csw impl.