Interface ISpanDataSource
- Namespace
- AsmResolver.IO
- Assembly
- AsmResolver.dll
Provides span-based members for reading data from a data source.
public interface ISpanDataSource : IDataSource
- Inherited Members
- Extension Methods
Methods
ReadBytes(ulong, Span<byte>)
Reads a block of data from the data source.
int ReadBytes(ulong address, Span<byte> buffer)
Parameters
address
ulongThe starting address to read from.
buffer
Span<byte>The buffer that receives the read bytes.
Returns
- int
The number of bytes that were read.