Details
-
Improvement
-
Resolution: Done
-
Major - P3
-
None
-
None
-
Fully Compatible
-
Platform 2 04/24/15, Platform 3 05/15/15
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.
Attachments
Issue Links
- is depended on by
-
SERVER-17606 Implement OP_COMMAND/OP_COMMANDREPLY message serialization/deserialization
-
- Closed
-
- related to
-
SERVER-14852 Create endian- and alignment-agnostic abstractions for reading and writing data
-
- Closed
-