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