CASCExplorer.BLTEStream.Read C# (CSharp) Метод

Read() публичный Метод

public Read ( byte buffer, int offset, int count ) : int
buffer byte
offset int
count int
Результат int
        public override int Read(byte[] buffer, int offset, int count)
        {
            if (_memStream.Position + count > _memStream.Length && _blocksIndex < _dataBlocks.Length)
            {
                if (!ProcessNextBlock())
                    return 0;

                return Read(buffer, offset, count);
            }
            else
            {
                return _memStream.Read(buffer, offset, count);
            }
        }