ByteBuffer.prefixedDataAvailable()
----------------------------------

         Key: DIRMINA-140
         URL: http://issues.apache.org/jira/browse/DIRMINA-140
     Project: Directory MINA
        Type: New Feature
    Reporter: Trustin Lee
     Fix For: 0.9


Many protocols use a data type which has a data length field as a prefix.  It 
will be very useful if users can check if the buffer contains the whole data by 
inspecting the data length field before start reading the data.  
ByteBuffer.prefixedDataAvailable() will let users do this trivial and 
repetitive task with just one method call.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to