Handle short reads in stream encoder
Open
- Dominant language
- Go
- Stars
- 31
- Forks
- 20
- PR merge metrics
- No merged PRs in 30d
Description
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.
Contributor guide
No contributing guide indexed for this repository
Research direction
Locate Encoder.Next() and inspect how each read creates a blob. Verify that short reads are accumulated until a full blob is available or EOF is reached, while preserving the expected behavior at EOF.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 50/100