Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bcho/packet
Read & write binary packet with length.
https://github.com/bcho/packet
game go packet
Last synced: 2 days ago
JSON representation
Read & write binary packet with length.
- Host: GitHub
- URL: https://github.com/bcho/packet
- Owner: bcho
- License: mit
- Created: 2016-02-14T08:49:25.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-09-14T17:59:10.000Z (over 7 years ago)
- Last Synced: 2024-11-02T05:06:51.196Z (about 2 months ago)
- Topics: game, go, packet
- Language: Go
- Homepage:
- Size: 7.81 KB
- Stars: 1
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Packet
[![Build Status](https://travis-ci.org/bcho/packet.svg)](https://travis-ci.org/bcho/packet)
[![](https://godoc.org/github.com/bcho/packet?status.svg)](http://godoc.org/github.com/bcho/packet)Read & write binary packet with length.
## History
### 2.0
Adds:
- `ReadPacket` / `WritePacket` functions for low-level usage.
- `NewWriter` for building io.Writer adapter.### 1.0
This package is based on [Leaf][]'s `tcp_msg` module.
[Leaf]: https://github.com/name5566/leaf/blob/47f1a7cc53fb761dd9d3b125f40c682fbcf8f158/network/tcp_msg.go
## License
MIT