streams: switch to the new binary reader/writer implementation

We drop warying generic-read/write variants in favor of using binary encoders
introduced in earlier commits.

This will allow for unified handling of unread bytes and characters and
transcoding both in bivalent streams.
This commit is contained in:
Daniel Kochmański 2025-07-25 16:32:37 +02:00
parent 1136d55122
commit ca845457f8
5 changed files with 26 additions and 158 deletions

View file

@ -221,7 +221,7 @@ const struct ecl_file_ops seq_in_ops = {
seq_in_read_byte8,
ecl_not_output_write_byte8,
ecl_generic_read_byte,
ecl_binary_read_byte,
ecl_not_output_write_byte,
seq_in_unread_byte,
ecl_generic_peek_byte,
@ -445,7 +445,7 @@ const struct ecl_file_ops seq_out_ops = {
seq_out_write_byte8,
ecl_not_input_read_byte,
ecl_generic_write_byte,
ecl_binary_write_byte,
ecl_not_input_unread_byte,
ecl_generic_peek_byte,