d.</span></div> <div class="line"><a name="l00000"></a><span class="lineno">  000</span>&#000;<span class="comment"> * @param timeoutms   wait timeout milliseconds. 0 for no wait, -0 for infinite</span></div> <div class="line"><a name="l00000"></a><span class="lineno">  000</span>&#000;<span class="comment"> *                    wait</span></div> <div class="line"><a name="l00000"></a><span class="lineno">  000</span>&#000;<span class="comment"> *</span></div> <div class="line"><a name="l00000"></a><span class="lineno">  000</span>&#000;<span class="comment"> * @return the number of bytes 