'All data which will be delivered to this decoder has been.  Check to
make sure as much data as was expected has been received.
@raise PotentialDataLoss: If the content length is unknown.
@raise _DataLoss: If the content length is known and fewer than that
many bytes have been delivered.
@return: L{None}'

def noMoreData(self):

    finishCallback = self.finishCallback
    self.dataCallback = self.finishCallback = None
    if (self.contentLength is None):
        finishCallback('')
        raise PotentialDataLoss()
    elif (self.contentLength != 0):
        raise _DataLoss()
