Skip to main content

All Questions

-3 votes
1 answer
48 views

stuck on decoding a variable [closed]

I'm gonna get bunch of down votes for this but I don't know anything about binary and I came across something that I need to decode it, here: tst; tst = 501511502 << 64; tst |= 485000121 <&...
Adrin's user avatar
  • 615
1 vote
3 answers
4k views

Unpack a C struct on browser?

EDIT I found this: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Typed_arrays Basically if I have something like this: struct someStruct { unsigned long id; char username[16]; float ...
Marco Sulla's user avatar
  • 15.9k
13 votes
2 answers
78k views

How do I read binary data to a byte array in Javascript?

I want to read a binary file in JavaScript that would be gotten through XMLHttpRequest and be able to manipulate that data. From my researching I discovered this method of reading a binary file data ...
Zeeno's user avatar
  • 2,721
1 vote
3 answers
2k views

captcha image coming back a binary data? How to display this?

I am retrieving a captcha image from the Java based package "SimpleCaptcha" On the front end I just put the following in my page and I get a captcha image: <img src="stickyImg" /> I want to ...
Lothar's user avatar
  • 3,509