There is no strict clause in RFC 8878 that says that a 0-length input is invalid.
In upstream a 0-length input is output as 0 bytes, with an option to always write a Frame + EOF block.
The approach to this should be decided. Mainly on the encoder side, but also whether the decoder should return an error if it encounters EOF straight away.
There is no strict clause in RFC 8878 that says that a 0-length input is invalid.
In upstream a 0-length input is output as 0 bytes, with an option to always write a Frame + EOF block.
The approach to this should be decided. Mainly on the encoder side, but also whether the decoder should return an error if it encounters EOF straight away.