Skip to content

Add flags to ensure memory mapping (or preload into memory) and to ensure seeking #7

Description

@vampirefrog

Add STREAM_ENSURE_MEMORY_ACCESS flag to ensure that memory access will be available. For gzipped streams or for zip file streams, load into memory.

Add STREAM_ENSURE_SEEK_SET, STREAM_ENSURE_SEEK_START, STREAM_ENSURE_SEEK_END to ensure that these types of seek are available. For example, gzip does not offer SEEK_END.

Add STREAM_ENSURE_FAST_SEEK to load gzip files into memory because forward seeking is slow.

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