Documentation
¶
Index ¶
- func DedupIntArr[T SliceIntType](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 SliceIntType
- type Uint8Arr
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DedupIntArr ¶
func DedupIntArr[T SliceIntType](arr []T) []T
DedupIntArr eliminates the duplicates in an integer array.
func IsGREASEUint16 ¶
func ParseUDPPacket ¶
ParseUDPPacket parses the IP packet
func Uint16ToUint8 ¶
Types ¶
type SliceIntType ¶
Click to show internal directories.
Click to hide internal directories.