<li><ahref="../../../../../com/captainalm/lib/calmnet/packet/IPacket.html"title="interface in com.captainalm.lib.calmnet.packet"><spanclass="typeNameLink">Prev Class</span></a></li>
<li><ahref="../../../../../com/captainalm/lib/calmnet/packet/PacketException.html"title="class in com.captainalm.lib.calmnet.packet"><spanclass="typeNameLink">Next Class</span></a></li>
<dd><ahref="../../../../../com/captainalm/lib/calmnet/packet/IPacket.html"title="interface in com.captainalm.lib.calmnet.packet">IPacket</a></dd>
</dl>
<dl>
<dt>All Known Implementing Classes:</dt>
<dd><ahref="../../../../../com/captainalm/lib/calmnet/packet/core/Base64Packet.html"title="class in com.captainalm.lib.calmnet.packet.core">Base64Packet</a>, <ahref="../../../../../com/captainalm/lib/calmnet/packet/core/EncryptedPacket.html"title="class in com.captainalm.lib.calmnet.packet.core">EncryptedPacket</a>, <ahref="../../../../../com/captainalm/lib/calmnet/packet/core/NetworkEncryptionCipherPacket.html"title="class in com.captainalm.lib.calmnet.packet.core">NetworkEncryptionCipherPacket</a></dd>
<h3>Methods inherited from interface com.captainalm.lib.calmnet.packet.<ahref="../../../../../com/captainalm/lib/calmnet/packet/IPacket.html"title="interface in com.captainalm.lib.calmnet.packet">IPacket</a></h3>
<ahref="../../../../../com/captainalm/lib/calmnet/packet/PacketException.html"title="class in com.captainalm.lib.calmnet.packet">PacketException</a></pre>
<divclass="block">Reads payload data to an <code>OutputStream</code>.</div>
<dd><code>outputStream</code> - The output stream to read data to.</dd>
<dt><spanclass="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.NullPointerException</code> - outputStream is null.</dd>
<dd><code>java.io.IOException</code> - An IO Exception has occurred.</dd>
<dd><code><ahref="../../../../../com/captainalm/lib/calmnet/packet/PacketException.html"title="class in com.captainalm.lib.calmnet.packet">PacketException</a></code> - An Exception has occurred.</dd>
<ahref="../../../../../com/captainalm/lib/calmnet/packet/PacketException.html"title="class in com.captainalm.lib.calmnet.packet">PacketException</a></pre>
<divclass="block">Writes payload data from an <code>InputStream</code>.</div>
<dd><code>inputStream</code> - The input stream to write data from.</dd>
<dd><code>size</code> - The size of the input payload in bytes.</dd>
<dt><spanclass="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.NullPointerException</code> - inputStream is null.</dd>
<dd><code>java.lang.IllegalArgumentException</code> - size is less than 0.</dd>
<dd><code>java.io.IOException</code> - An IO Exception has occurred.</dd>
<dd><code><ahref="../../../../../com/captainalm/lib/calmnet/packet/PacketException.html"title="class in com.captainalm.lib.calmnet.packet">PacketException</a></code> - An Exception has occurred.</dd>
</dl>
</li>
</ul>
<aname="getSize--">
<!---->
</a>
<ulclass="blockListLast">
<liclass="blockList">
<h4>getSize</h4>
<pre>int getSize()
throws <ahref="../../../../../com/captainalm/lib/calmnet/packet/PacketException.html"title="class in com.captainalm.lib.calmnet.packet">PacketException</a></pre>
<divclass="block">Gets the size of the output data.</div>
<dl>
<dt><spanclass="returnLabel">Returns:</span></dt>
<dd>The size of the output data in bytes.</dd>
<dt><spanclass="throwsLabel">Throws:</span></dt>
<dd><code><ahref="../../../../../com/captainalm/lib/calmnet/packet/PacketException.html"title="class in com.captainalm.lib.calmnet.packet">PacketException</a></code> - An Exception has occurred.</dd>
<li><ahref="../../../../../com/captainalm/lib/calmnet/packet/IPacket.html"title="interface in com.captainalm.lib.calmnet.packet"><spanclass="typeNameLink">Prev Class</span></a></li>
<li><ahref="../../../../../com/captainalm/lib/calmnet/packet/PacketException.html"title="class in com.captainalm.lib.calmnet.packet"><spanclass="typeNameLink">Next Class</span></a></li>