Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Data ¶
type Data struct {
// contains filtered or unexported fields
}
func (*Data) Buf ¶
Buf returns this Data's buffer. This is the buffer that should be used everywhere except for the tun.Device ReadPacket and WritePacket methods.
func (*Data) Copy ¶ added in v2.7.2
Copy copies n bytes from the given Data buffer into a new Data and returns it.
Click to show internal directories.
Click to hide internal directories.