Skip to content

Add bytes-as-string encoding

Mehdi Bouaziz requested to merge mehdi@bytes_str into master

The bytes_str encoding is like the bytes encoding but returns an OCaml string rather than bytes.

The goal is to be able to move more bytes to string without breaking existing encodings.

In binary, bytes and string are exactly the same and so is bytes_str, the difference is only visible in JSON.

Merge request reports