Expand description
Native binary document-body container wiring (PRD-1398, ADR-0063).
DOCUMENT collections keep the canonical document under a body field.
Behind the storage.binary_document_body flag, writes serialise that body into the
native binary container (reddb_types::document_body_codec) instead of
plain UTF-8 JSON. The container is self-describing — it starts with the
RDOC magic — so every read path decodes it back to JSON transparently,
regardless of the flag, keeping the wire/clients on JSON (no driver change).
The binary form lives only inside the stored Value::Json bytes; the rest
of the engine continues to see a JSON body in memory. This is the
binary write + binary-to-JSON read path; bare field filters/projections
offset-read from the body after the production cutover.