Documentation ¶
Index ¶
- func Htons(i uint16) uint16
- func ParseAddr(addr string) (ip string, port int)
- func ReadFull(reader io.Reader, buf []byte) (n int, err error)
- func ReadPacket(reader io.Reader) ([]byte, error)
- func WriteEnd(writer io.Writer) (n int, err error)
- func WriteFull(writer io.Writer, buf []byte) (n int, err error)
- func WritePacket(writer io.Writer, data []byte) (n int, err error)
- func WriteUntil(conn net.Conn, bufSize int, data []byte, timeout time.Duration, ...) (res []byte, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.