-
Type: Task
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Internal Code
-
Labels:None
-
Fully Compatible
Currently, BufBuilder, BSONObjBuilder, and friends use dereferenced reinterpret_cast'ed pointers to read and write raw values into memory. This is undefined behavior in many cases.
Instead, we should use the new DataView and DataCursor methods to achieve portable implementations.