mirror of
https://github.com/dalbodeule/hop-gate.git
synced 2025-12-11 14:25:44 +09:00
- Refactored `Decode` to use `io.ReadFull` for accurate length-prefix and payload reading. - Simplified logic to avoid mismatched length issues and clarified comments for maintainability.