javazoom.jl.decoder.CircularByteBuffer.InternalGet C# (CSharp) Method

InternalGet() private method

private InternalGet ( int offset ) : byte
offset int
return byte
        private byte InternalGet(int offset)
        {
            int ind=index+offset;

            // Do thin modulo (should just drop through)
            for(;ind>=length;ind-=length);
            for(;ind<0;ind+=length);
            // Set value
            return dataArray[ind];
        }