Table of Contents

Namespace AsmResolver.IO

Classes

BinaryStreamWriter

Provides methods for writing data to an output stream.

ByteArrayDataSource

Provides a IDataSource wrapper around a raw byte array.

ByteArrayFileService

Provides an implementation of a IFileService that uses instances of ByteArrayInputFile to represent opened files, and keeps track of any of the instances it creates.

ByteArrayInputFile

Represents a file for which the data is represented by a byte array.

DataSourceExtensions

Provides extension methods for IDataSource.

DataSourceSlice

Represents a data source that only exposes a part (slice) of another data source.

DisplacedDataSource

Represents a data source that was moved in memory to a different address.

IOExtensions

Provides extension methods to various I/O related interfaces.

MemoryMappedFileService

Provides an implementation of the IFileService interface, which maps any requested file into memory, and keeps track of any of the instances it creates.

MemoryMappedInputFile

Represents an input file that is mapped in memory.

MemoryStreamWriterPool

Provides a pool of reusable instances of BinaryStreamWriter that are meant to be used for constructing byte arrays.

UncachedFileService

Provides a basic singleton implementation of a IFileService that produces instances of the ByteArrayInputFile class, and does no tracking and caching of any of the opened files.

UnmanagedDataSource

Represents a data source that obtains its data from a block of unmanaged memory.

ZeroesDataSource

Implements a data source that reads zero bytes.

Structs

BinaryStreamReader

Provides methods for reading binary data from a data source.

MemoryStreamWriterPool.RentedWriter

Represents a single instance of a BinaryStreamWriter that is rented by a writer pool.

Interfaces

IDataSource

Provides members for reading data from a data source.

IFileService

Provides members for opening and managing files for reading.

IInputFile

Represents a file from which binary data can be read.

ISpanDataSource

Provides span-based members for reading data from a data source.