Skip to content

Commit ac20ded

Browse files
committed
metadata: Avoid the use of raw wr_str or write_all.
They are, with a conjunction of `start_tag` and `end_tag`, commonly used to write a document with a binary data of known size. However the use of `start_tag` makes the length always 4 bytes long, which is almost not optimal (requiring the relaxation step to remedy). Directly using `wr_tagged_*` methods is better for both readability and resulting metadata size.
1 parent b4c965e commit ac20ded

File tree

1 file changed

+70
-151
lines changed

1 file changed

+70
-151
lines changed

0 commit comments

Comments
 (0)