public bool GetBoolean(int readIndex) { if (readIndex + sizeof(bool) > WrittenBytes) throw new AegisException(AegisResult.BufferUnderflow, "No more readable buffer."); return (Buffer[readIndex] == 1); }