Flush the status from a sequence of calls to encode_step.
The output buffer must be large enough to fit all the data that will be written to it. It will need up to 4 bytes, or up to 5 bytes if line-breaking is enabled.
| break_lines |
whether to break long lines |
| state |
Saved state from encode_step |
| save |
Saved state from encode_step |
| out |
pointer to destination buffer |
|
The number of bytes of output that was written |