package
Version:
v0.0.0-...-9682c69
Opens a new window with list of versions in this module.
Published: Mar 12, 2017
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
WriteTo write package to w
Please goto method ReadFrom to see protocal details
type BytesPool interface {
Get(len int) []byte
Put(p []byte)
}
type Packet struct {
Len int
Data []byte
}
ReadFrom read packet from r
BigEndian(uint16(len)) + data
len = len(data)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.