iv class="jd-descrdiv">Sets the data buffer for this datagram packet.</div>
  
  </td></tr>


	 
    <tr class=" api apilevel-1" >
        <td class="jd-typecol"><nobr>
            
            synchronized
            
            
            
            void</nobr>
        </td>
        <td class="jd-linkcol" width="100%"><nobr>
        <span class="sympad"><a href="../../../reference/java/net/DatagramPacket.html#setLength(int)">setLength</a></span>(int length)</nobr>
        
        <div class="jd-des