Skip to content

How to set variable padding bytes? #1764

Discussion options

You must be logged in to vote

Your welcome. The current file offset (aka as the cursor offset) is denoted by the symbol $ which is readable and write-able.
so

   padding[size - $];

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@xlbao123
Comment options

@paxcut
Comment options

Answer selected by xlbao123
@paxcut
Comment options

@xlbao123
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants