AsmResolver.MemoryStreamReader.ReadBytesUntil C# (CSharp) Метод

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

public ReadBytesUntil ( byte value ) : byte[]
value byte
Результат byte[]
        public byte[] ReadBytesUntil(byte value)
        {
            var index = Array.IndexOf(_data, value, _position);
            if (index == -1)
            {
                Position = Length;
                throw new EndOfStreamException();
            }
            return ReadBytes(index - _position);
        }