public byte Read() { if (ReadBytes + sizeof(byte) > WrittenBytes) throw new AegisException(AegisResult.BufferUnderflow, "No more readable buffer."); var value = Buffer[ReadBytes]; ReadBytes += sizeof(byte); return value; }