Documentation ¶ Overview ¶ Package sizedstream buffers a response body stream that declares its length. Index ¶ func Read(resp *fasthttp.Response, n int) bool Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Read ¶ func Read(resp *fasthttp.Response, n int) bool Read reads the body stream of resp, which declares n bytes, into its body and reports whether exactly n arrived without error. Response.Body reads to the end and keeps a read error as the body. Types ¶ This section is empty. Source Files ¶ View all Source files sizedstream.go Click to show internal directories. Click to hide internal directories.