Skip to content

add relative offsets #22

Description

@chrisosaurus

currently byte is absolute (SEEK_SET), we should also support relative forward (SEEK_CUR) and ideally relative back.

proposed syntax:

bn (absolute byte n)
b+n (relative n bytes forward)
b-n (relative n bytes back)

we should centralise this logic for re-use across all commands taking numbers where this makes sense.

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