(self, barray)
return m
Receive the last chunk of the parsed bodyand store the data
        in a buffer rather than creating a new string.
Receive the last chunk of the parsed bodyand store the data
        in a buffer rather than creating a new string.
Receive the last chunk of the parsed bodyand store the data in a buffer rather than creating a new string .
def recv_body_into(self, barray):
        """ Receive the last chunk of the parsed bodyand store the data
        in a buffer rather than creating a new string. """
        l = len(barray)
        body = b("").join(self._body)
        m = min(len(body), l)
        data, rest = body[:m], body[m:]
        barray[0:m] = data
        if not rest:
            self._body = []
            self._partial_body = False
        else:
            self._body = [rest]
        return m
def recv_body_into ( self , barray ) : l = len ( barray ) body = b ( "" ) . join ( self . _body ) m = min ( len ( body ) , l ) data , rest = body [ : m ] , body [ m : ] barray [ 0 : m ] = data if not rest : self . _body = [ ] self . _partial_body = False else : self . _body = [ rest ] return m