class Protocol::HTTP::Body::Buffered

def close(error = nil)

@parameter error [Exception | Nil] the error that caused the body to be closed, if any.

Ensure that future reads return `nil`, but allow for rewinding.
def close(error = nil)
	@index = @chunks.length
	
	return nil
end