Issue Details (XML | Word | Printable)

Key: DIRMINA-127
Type: New Feature New Feature
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Niklas Therning
Reporter: Trustin Lee
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
MINA

ByteBuffer.get/putPrefixedString()

Created: 21/Nov/05 09:16 PM   Updated: 05/Dec/05 06:44 AM
Return to search
Component/s: None
Affects Version/s: None
Fix Version/s: 0.9.0

Time Tracking:
Not Specified

Resolution Date: 05/Dec/05 02:03 AM


 Description  « Hide
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.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Trustin Lee made changes - 29/Nov/05 12:23 AM
Field Original Value New Value
Status Open [ 1 ] In Progress [ 3 ]
Trustin Lee made changes - 29/Nov/05 01:37 AM
Fix Version/s 0.9 [ 11069 ]
Resolution Fixed [ 1 ]
Status In Progress [ 3 ] Closed [ 6 ]
Trustin Lee made changes - 03/Dec/05 10:16 AM
Resolution Fixed [ 1 ]
Status Closed [ 6 ] Reopened [ 4 ]
Trustin Lee made changes - 03/Dec/05 10:18 AM
Description 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'. 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.
Summary ByteBuffer.get/putPascalString() ByteBuffer.get/putPrefixedString()
Niklas Therning made changes - 03/Dec/05 07:23 PM
Assignee Trustin Lee [ trustin ] Niklas Therning [ niklas@trillian.se ]
Niklas Therning made changes - 04/Dec/05 03:32 AM
Status Reopened [ 4 ] In Progress [ 3 ]
Niklas Therning made changes - 05/Dec/05 02:03 AM
Status In Progress [ 3 ] Resolved [ 5 ]
Resolution Fixed [ 1 ]
Trustin Lee made changes - 05/Dec/05 06:44 AM
Status Resolved [ 5 ] Closed [ 6 ]