(self, output)
return output
Writes all of the object reference offsets.
Writes all of the object reference offsets.
Writes all of the object reference offsets .
def writeOffsetTable(self, output):
        """Writes all of the object reference offsets."""
        all_positions = []
        for obj in self.writtenReferences:
            position = self.referencePositions.get(obj, None)
            if position == None:
                raise InvalidPlistException("Error while writing offsets table. Object not found. %s" % obj)
            output += self.binaryInt(position, self.trailer.offsetSize)
            all_positions.append(position)
        return output
def writeOffsetTable ( self , output ) : all_positions = [ ] for obj in self . writtenReferences : position = self . referencePositions . get ( obj , None ) if position == None : raise InvalidPlistException ( "Error while writing offsets table. Object not found. %s" % obj ) output += self . binaryInt ( position , self . trailer . offsetSize ) all_positions . append ( position ) return output