Byte CInArchive::ReadByte() { Byte b; if (!inBuffer.ReadByte(b)) throw CInArchiveException(CInArchiveException::kUnsupported); return b; }
Byte CInArchive::ReadByte() { if (m_CurPos >= m_PosLimit) throw CInArchiveException(CInArchiveException::kIncorrectArchive); return m_CurData[m_CurPos++]; }