Skip to content
View in the app

A better way to browse. Learn more.

ResHax

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Help us keep the site running.

Help! How to convert numbers to int

Featured Replies

  • Author
  • Localization

h3x3r, posted Sat Sep 29, 2018 4:19 pm (38880)


Hi guys, can someone help me out convert numbers to full int's? The source of values are int.
Thanks in advance!
Preview of format to convert:
Code:
Offset = 79205788 Size = 50357
Offset = 79321972 Size = 30133
Offset = 83707660 Size = 29499
Offset = 83755428 Size = 14187
Offset = 94774324 Size = 5527
Offset = 94779860 Size = 17255
Offset = 94797124 Size = 4071
  • Author
  • Localization

aluigi, posted Wed Oct 03, 2018 12:54 pm (38986)


Do you mean you have an input binary file containing sequences of little endian 32bit fields?
And what programming language are you using?

In quickbms it would be something like:
Code:
for
    get OFFSET long
    get SIZE long
next
  • Author
  • Localization

h3x3r, posted Sun Oct 07, 2018 11:13 am (39240)


Yes the source is binary form. I used 010 Hex editor to print those values. Problem is that output decimal number "can't" be converted back to binary form right?
But i solved this problem by printing values as HEX and then import them as HEX.
Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.