You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Trustin Lee (JIRA)" <ji...@apache.org> on 2005/12/03 02:18:30 UTC

[jira] Updated: (DIRMINA-127) ByteBuffer.get/putPrefixedString()

     [ http://issues.apache.org/jira/browse/DIRMINA-127?page=all ]

Trustin Lee updated DIRMINA-127:
--------------------------------

        Summary: ByteBuffer.get/putPrefixedString()  (was: ByteBuffer.get/putPascalString())
    Description: It is sometimes very useful to read or write a string which has a byte/short/integer field in front of the actual encoded string, and some protocols requires padding for alignining data.  (was: It is sometimes very useful to read or write a string which has an integer (or a short integer) field in front of the actual encoded string, so called 'Pascal String'.)

Replaced get/putPascalString() with get/putPrefixedString().  Now they support padding, too.

> ByteBuffer.get/putPrefixedString()
> ----------------------------------
>
>          Key: DIRMINA-127
>          URL: http://issues.apache.org/jira/browse/DIRMINA-127
>      Project: Directory MINA
>         Type: New Feature
>     Reporter: Trustin Lee
>     Assignee: Trustin Lee
>     Priority: Minor
>      Fix For: 0.9

>
> It is sometimes very useful to read or write a string which has a byte/short/integer field in front of the actual encoded string, and some protocols requires padding for alignining data.

-- 
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