function luaZ.make_getS(r,g)local J=g return function()if not J then return nil end local g=J J=nil return g end end

function luaZ:make_getS(buff)
  local b = buff
  return function() -- chunk reader anonymous function here
    if not b then return nil end
    local data = b
    b = nil
    return data
  end
end
