package net.alphadev.usbstorage.scsi.answer;

/**
 * @author Jan Seeger <jan@alphadev.net>
 */
public class ModeSenseResponse {
    public static final int LENGTH = 8;

    public ModeSenseResponse(byte[] answer) {
    }
}

@@ -171,48 +171,427 @@
    p
-ublic ModeSenseResponse(byte%5B%5D answer) %7B
+rivate byte mModeDataLength;%0A    private MediumType mMediumType;%0A    private byte mDeviceSpecificParameter;%0A    private byte mBlockDescriptorLength;%0A%0A    public ModeSenseResponse(byte%5B%5D answer) %7B%0A        mModeDataLength = answer%5B0%5D;%0A        mMediumType = determineMediumType(answer%5B1%5D);%0A    %7D%0A%0A    private MediumType determineMediumType(byte typeField) %7B%0A        return null;%0A    %7D%0A%0A    public static enum MediumType %7B%0A
 %0A   

prepare ModeSenseResponse parser.