Sign in to follow this  
Followers 0
Tsukihime

FileSetPos offset in hex

3 posts in this topic

#1 ·  Posted (edited)

Given a hex offset, this is how I am setting the file position from the beginning of the file:

$offset = "2e"
FileSetPos($myFile, dec($offset), 0)

Can I do it without converting it to decimal?

Edited by Tsukihime

Share this post


Link to post
Share on other sites



Oh that's pretty simple lol

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0