overflow_discovery/service/matcher/packet.go

14 lines
166 B
Go
Raw Normal View History

2017-11-21 12:47:55 +00:00
package matcher
type Packet struct {
Buffer []byte
Len int
}
func NewPacket(buf []byte, len int) *Packet {
return &Packet{
Buffer: buf,
Len: len,
}
}