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

Pop() public method

Pop an integer off the start of the buffer. Throws an exception if the buffer is empty (NumValid == 0)
public Pop ( ) : byte
return byte
        public byte Pop()
        {
            lock(this)
            {
                if (numValid == 0) throw new Exception("Can't pop off an empty CircularByteBuffer");
                numValid--;
                return this[numValid];
            }
        }