assertrequestResponseCode==RequestResponseCode.LIST_RESPONSE:"FileList subclass is incompatible with this datagram, request/response code must be checked before using this constructor";
assertrequestResponseCode==RequestResponseCode.LIST_RESPONSE:"FileList subclass is incompatible with this datagram, request/response code must be checked before using this constructor";
assertrequestResponseCode==RequestResponseCode.LOAD_RESPONSE:"FilePart subclass is incompatible with this datagram, request/response code must be checked before using this constructor";
assertrequestResponseCode==RequestResponseCode.LOAD_RESPONSE:"FilePart subclass is incompatible with this datagram, request/response code must be checked before using this constructor";
assertgetPayloadSize(datagram)+8<=datagram.length:"Payload is truncated";
if(datagram.length<getPayloadSize(datagram)+8){
thrownewTransmissionError();
}
assertRequestResponseCode.fromCode(datagram[RequestResponseCode.RRCODE_POSITION])!=RequestResponseCode.LIST_RESPONSE||(thisinstanceofFileList):"LIST_RESPONSE must use FilePart class";
assertRequestResponseCode.fromCode(datagram[RequestResponseCode.RRCODE_POSITION])!=RequestResponseCode.LIST_RESPONSE||(thisinstanceofFileList):"LIST_RESPONSE must use FilePart class";
assertRequestResponseCode.fromCode(datagram[RequestResponseCode.RRCODE_POSITION])!=RequestResponseCode.LOAD_RESPONSE||(thisinstanceofFilePart):"LOAD_RESPONSE must use FileList class";
assertRequestResponseCode.fromCode(datagram[RequestResponseCode.RRCODE_POSITION])!=RequestResponseCode.LOAD_RESPONSE||(thisinstanceofFilePart):"LOAD_RESPONSE must use FileList class";