ElfFile.getDataSlice

const(ubyte)[] getDataSlice(size_t offset, size_t size) const

Get a slice of the ELF file data.

Parameters

offsetStarting offset in bytes.
sizeSize in bytes.

Returns

A slice of the data array.

Throws

Exception if offset or size are out of bounds.