About 211,000 results
Open links in new tab
  1. c - How to read/write a binary file? - Stack Overflow

    Jul 11, 2013 · I'm trying to write to a binary file, read from it, and output to the screen. I can write to a file, but when I try to read from it, it is not outputting correctly.

  2. What's a binary file and how do I create one? - Stack Overflow

    Jun 11, 2009 · I would like to create a binary file representing an integer. I think the file should be 4 bytes. I use linux. How to do that? Another question: How do I assign the content of that file to an …

  3. Grep 'binary file matches'. How to get normal grep output?

    May 7, 2014 · The intent to need to specify this flag is to avoid outputting raw binary content to output accidentally if you grep a binary file by mistake. Traditionally outputting binary content to terminal …

  4. Where is the difference between "binaries" and "executables" in the ...

    Jan 20, 2020 · A binary file is simply one in a binary (i.e. non-text) format. The binary format means that the file's contents should not be transformed for platform-specific reasons (e.g. replacing newlines …

  5. c++ - writing into binary files - Stack Overflow

    Note that if you intend to read this binary date on a different machine, you'll have to take word size and endianness into consideration. I also recommend that you zero the name and surname buffers …

  6. WSL issue: cannot execute binary file: Exec format error

    Aug 15, 2023 · I am trying to install nodejs on wsl ubunto subsytem for windows and I used the following command: sudo apt-get install nodejs When I tried to see node version using node --version I got this …

  7. python - Reading a binary file into a struct - Stack Overflow

    I have a binary file with a known format/structure. How do I read all the binary data in to an array of the structure? Something like (in pseudo code) bytes = read_file(filename) struct = {'int','i...

  8. Is there a way to compile a python application into static binary?

    There are two ways you could go about to solve your problem Use a static builder, like freeze, or pyinstaller, or py2exe Compile using cython and link against a statically-compiled version of CPython …

  9. Resolving a Git conflict with binary files - Stack Overflow

    Nov 10, 2008 · This takes the copy of the binary files I want and overwrites what's in the working tree with the version fetched from the remote branch. git doesn't try to do any merging, so you just end up …

  10. How to analyze binary file? - Stack Overflow

    Analyze the binary data: try to save various versions of the file with little variation and use a diff program to analyze the meaning of every bit with an hex editor. Use it in conjunction with binary hacking …