def get_blocks_byte_array(self, buffer=False):
        if buffer:
            length = len(self.blocksList)
            return BytesIO(pack(">i", length)+self.get_blocks_byte_array())
        else:
            return array.array('B', self.blocksList).tostring()
Method to get active 'before_retrieval_plugins' plugins for Doccode Plugin Mapping instance
dataset/ETHPy150Open twoolie/NBT/nbt/chunk.py/BlockArray.get_blocks_byte_array--crossover with--dataset/ETHPy150Open adlibre/Adlibre-DMS/adlibre_dms/apps/dms_plugins/models.py/DoccodePluginMapping.get_before_retrieval_plugins