public int decode(InputStream iStream) throws IOException { int codeLength = 0; givenName = new AxdrVisibleString(); codeLength += givenName.decode(iStream); initial = new AxdrVisibleString(); codeLength += initial.decode(iStream); familyName = new AxdrVisibleString(); codeLength += familyName.decode(iStream); return codeLength; }
public int decode(InputStream iStream) throws IOException { int codeLength = 0; myInteger = new AxdrInteger(); codeLength += myInteger.decode(iStream); myInteger2 = new AxdrInteger(); codeLength += myInteger2.decode(iStream); myBoolean = new AxdrBoolean(); codeLength += myBoolean.decode(iStream); bitString = new AxdrBitString(); codeLength += bitString.decode(iStream); enumerated = new AxdrEnum(); codeLength += enumerated.decode(iStream); generalizedTime = new AxdrGeneralizedTime(); codeLength += generalizedTime.decode(iStream); myNull = new AxdrNull(); codeLength += myNull.decode(iStream); octetString = new AxdrOctetString(); codeLength += octetString.decode(iStream); visibleString = new AxdrVisibleString(); codeLength += visibleString.decode(iStream); my_sequence = new SubSeqOf_my_sequence(); codeLength += my_sequence.decode(iStream); my_choice = new My_Choice(); codeLength += my_choice.decode(iStream); return codeLength; }