package net.alphadev.usbstorage.api;

/**
 * Represents a payload that is transmitted between an USB device and its driver.
 *
 * @author Jan Seeger <jan@alphadev.net>
 */
public interface Transmittable {
    /**
     * Returns the payload data as byte array.
     *
     * @return payload data
     */
    byte[] asBytes();

    /**
     * Returns the payload size.
     *
     * @return payload size
     */
    int getExpectedAnswerLength();
}

@@ -358,16 +358,25 @@
 oad size
+ as bytes
 .%0A     *

clarify unit in interface description.