bto begin reading the packet fields from. @throws ie.omk.smpp.message.SMPPProtocolException if there is an error parsing the packet fields.
tmp.readFrom(in) has the same effect as the following code:
OutputStream out = tmp.getOutputStream(); IOUtils.copy(in, out); out.close();However it does so in a more efficient way. @param in An InputStream to read data from. This method will notclose the stream. @throws IOException in case of an error in reading from