lbry.go icon indicating copy to clipboard operation
lbry.go copied to clipboard

Handle short reads in stream encoder

Open lyoshenka opened this issue 4 years ago • 0 comments

In Encoder.Next(), every read creates a blob even if you only read one byte. Instead it should keep reading until it has a full blob's worth of data or hits EOF.

lyoshenka avatar May 28 '21 14:05 lyoshenka