(Omit source code)
data = d; offset = 0; max = data.length;
if (offset < max) return data[offset++]; return -1;