package
Version:
v0.3.0
Opens a new window with list of versions in this module.
Published: Aug 22, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package vecnet provides access to recvmsg syscalls on net.Conns.
Buffers points to zero or more buffers to read into.
On connections that support it, ReadFrom is optimized into the batch read
operation recvmsg.
ReadFrom reads into the pre-allocated bufs. Returns bytes read.
ReadFrom keeps reading until all bufs are filled or EOF is received.
The pre-allocatted space used by ReadFrom is based upon slice lengths.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.