-- string stm_lstring(Stream S)
-- @S - Stream object to read from

local function stm_lstring(S)
	local len = S:s_szt()
	local str

	if len ~= 0 then str = string.sub(stm_string(S, len), 1, -2) end

	return str
end
