mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-23 17:05:26 +02:00
Fix API tooling (add @since 5.1 to mapSectionData)
This commit is contained in:
parent
d9addda21a
commit
f91784b229
1 changed files with 3 additions and 0 deletions
|
@ -335,6 +335,9 @@ public class Elf {
|
|||
public long sh_addralign;
|
||||
public long sh_entsize;
|
||||
|
||||
/**
|
||||
* @since 5.1
|
||||
*/
|
||||
public ByteBuffer mapSectionData() throws IOException {
|
||||
return efile.getChannel().map(MapMode.READ_ONLY, sh_offset, sh_size).load().asReadOnlyBuffer();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue