Open Cyborus04 opened 8 months ago
The documentation for Encoder::encode says it returns the number of bytes read:
Encoder::encode
Returns Ok(bytes) if the expected amount of data was read
Ok(bytes)
But it actually returns Ok(()).
Ok(())
The documentation for
Encoder::encode
says it returns the number of bytes read:But it actually returns
Ok(())
.