Skip to content

ElfStream should provide access to underlying stream #58

Description

@greedy

Even though #48 provided a way to read segment content, it would still be nice to have access to the underlying stream. My use case is to read segment data directly into buffers I manage, bypassing the CachingReader inside the ElfStream.

Perhaps something like

pub fn inner_stream(&self) -> &S { &self.reader.reader }
pub fn inner_stream_mut(&mut self) -> &mut S { &mut self.reader.reader }

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions