Integer32 maxSizeResponseScopedPDU,
StatusInformation statusInformation,
MutableStateReference stateReference)
throws IOException
{
MutableByte mutableByte = new MutableByte();
int length = BER.decodeHeader(wholeMsg, mutableByte);
int startPos = (int)wholeMsg.getPosition();
if (mutableByte.getValue() != BER.SEQUENCE) {
String txt = "SNMPv1 PDU must start with a SEQUENCE";
logger.error(txt);
throw new IOException(txt);
}
Integer32 version = new Integer32();