def write_chunk(self, x, z, nbt_file):
        data = BytesIO()
        nbt_file.write_file(buffer=data) # render to buffer; uncompressed
        self.write_blockdata(x, z, data.getvalue())
Creates a copy of this Token and sets field_name.
dataset/ETHPy150Open twoolie/NBT/nbt/region.py/RegionFile.write_chunk--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/api/search/stub/tokens.py/Token.RestrictField