Documentation ¶ Index ¶ func ReadFill(buf []byte, r io.Reader) (n int, err error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func ReadFill ¶ func ReadFill(buf []byte, r io.Reader) (n int, err error) ReadFill read from reader as much as possible. The return value n is the number of bytes read. Any error encountered during r.Read is also returned. n == len(buf) or nil error means buf is full. Types ¶ This section is empty. Source Files ¶ View all Source files io.go Click to show internal directories. Click to hide internal directories.