local function n(n,t,H,B)local S=0 for H=t,H,B do S=S+n:byte(H,H)*256^(H-t)end return S end

local function rd_int_basic(src, s, e, d)
	local num = 0

	-- if bb[l] > 127 then -- signed negative
	-- 	num = num - 256 ^ l
	-- 	bb[l] = bb[l] - 128
	-- end

	for i = s, e, d do num = num + src:byte(i, i) * 256 ^ (i - s) end

	return num
end
