| Trustin Lee (JIRA) 2005-12-02, 8:45 pm |
| [ http://issues.apache.org/jira/brows...NA-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/secur...nistrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
|