def METHOD_NAME(self, sizehint):
    """Called to allocate a new receive buffer.
    *sizehint* is a recommended minimal size for the returned
    buffer.  When set to -1, the buffer size can be arbitrary.
    Must return an object that implements the
    :ref:`buffer protocol <bufferobjects>`.
    It is an error to return a zero-sized buffer.
    """