ProgramHeaderBuilder.getSegment

gelf.ProgramHeader getSegment(size_t index)

Get a segment by index.

Parameters

indexThe segment index.

Returns

The program header at the given index.

Throws

Exception if the index is out of bounds.