# Functions
ConnReadN reads at most N bytes from reader and it optimized for connection based readers like net.Conn it should not be used for file/buffer based reading, ConnReadN should be preferred instead of 'conn.Read() without loop' .
ConnReadNWithTimeout is same as ConnReadN but it takes timeout instead of context and it returns error if read does not finish in given time.
IsAcceptedError checks if the error is accepted error for example: connection refused, io.EOF, io.ErrUnexpectedEOF while reading from connection.
NewReusableReadCloser is returned for any type of input.
# Variables
No description provided by the author
No description provided by the author
although this is more than enough for most cases.
# Structs
FrozenReader is a reader that never returns.
No description provided by the author
ReusableReadCloser is a reusable reader with no-op close.
TimeoutReader is a reader wrapper that stops waiting after Timeout.