AsmResolver.BinaryStreamReaderExtensions.CreateSubReader C# (CSharp) Метод

CreateSubReader() публичный статический Метод

Forks the reader by creating a new instance of a binary stream reader, using the same data source, but a different address.
public static CreateSubReader ( this reader, long address ) : IBinaryStreamReader
reader this The reader to fork.
address long The address of the forked reader to start at.
Результат IBinaryStreamReader
        public static IBinaryStreamReader CreateSubReader(this IBinaryStreamReader reader, long address)
        {
            return reader.CreateSubReader(address, (int)(reader.Length - (address - reader.StartPosition)));
        }