[SERVER-17629] Implement BoundedDataCursor/DataRange primitive Created: 17/Mar/15 Updated: 19/Sep/15 Resolved: 27/Apr/15 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Internal Code, Security |
| Affects Version/s: | None |
| Fix Version/s: | 3.1.3 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Adam Midvidy | Assignee: | Mira Carey |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||
| Sprint: | Platform 2 04/24/15, Platform 3 05/15/15 | ||||||||||||||||
| Participants: | |||||||||||||||||
| Description |
|
DataCursor is good for writing, but for reading binary messages, a lot of repetitive bounds checking is needed. The exact design space is pretty wide, but a primitive that knows a length in addition to an offset would simplify writing parsers. |
| Comments |
| Comment by Mira Carey [ 15/Apr/15 ] |
|
still needs documentation |
| Comment by Githook User [ 15/Apr/15 ] |
|
Author: {u'username': u'hanumantmk', u'name': u'Jason Carey', u'email': u'jcarey@argv.me'}Message: Implemented DataType specializations for: Added a new meta type called Terminated<char, T> |
| Comment by Mira Carey [ 15/Apr/15 ] |
|
Extension for StringData and Terminated code review: compile across all platforms: |
| Comment by Mira Carey [ 14/Apr/15 ] |
|
needs documentation |
| Comment by Githook User [ 14/Apr/15 ] |
|
Author: {u'username': u'hanumantmk', u'name': u'Jason Carey (hanumantmk)', u'email': u'jcarey@argv.me'}Message: Implements DataRange and DataRangeCursor, bounded Status returning Implements DataType::Handler<> to allow for specialization by type.
Fix for endian conversions for floats and doubles to avoid some |
| Comment by Mira Carey [ 14/Apr/15 ] |