Documentation ¶
Index ¶
- func DedupIntArr[T SliceType](arr []T) []T
- func IsGREASEUint16(v uint16) bool
- func ParseUDPPacket(buf []byte) (*layers.UDP, error)
- func RewindConn(c net.Conn, buf []byte) (net.Conn, error)
- func RewindReader(r io.Reader, buf []byte) io.Reader
- func Uint16ToUint8(a []uint16) []uint8
- type SliceType
- type Uint8Arr
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DedupIntArr ¶ added in v0.3.2
func DedupIntArr[T SliceType](arr []T) []T
func IsGREASEUint16 ¶
func ParseUDPPacket ¶ added in v0.2.1
ParseUDPPacket parses the IP packet
func Uint16ToUint8 ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.