public byte Pop() { lock(this) { if (numValid == 0) throw new Exception("Can't pop off an empty CircularByteBuffer"); numValid--; return this[numValid]; } }