mirror of
https://github.com/nonoo/kappanhang.git
synced 2026-02-27 18:04:23 +01:00
Comment out unused func
This commit is contained in:
parent
fc0a7ba29d
commit
a36d8ad9b9
6
pkt7.go
6
pkt7.go
|
|
@ -27,9 +27,9 @@ func (p *pkt7Type) isPkt7(r []byte) bool {
|
|||
return len(r) == 21 && bytes.Equal(r[1:6], []byte{0x00, 0x00, 0x00, 0x07, 0x00}) // Note that the first byte can be 0x15 or 0x00, so we ignore that.
|
||||
}
|
||||
|
||||
func (p *pkt7Type) tryReceive(timeout time.Duration, s *streamCommon) []byte {
|
||||
return s.tryReceivePacket(timeout, 21, 1, []byte{0x00, 0x00, 0x00, 0x07, 0x00})
|
||||
}
|
||||
// func (p *pkt7Type) tryReceive(timeout time.Duration, s *streamCommon) []byte {
|
||||
// return s.tryReceivePacket(timeout, 21, 1, []byte{0x00, 0x00, 0x00, 0x07, 0x00})
|
||||
// }
|
||||
|
||||
func (p *pkt7Type) handle(s *streamCommon, r []byte) {
|
||||
gotSeq := binary.LittleEndian.Uint16(r[6:8])
|
||||
|
|
|
|||
Loading…
Reference in a new issue