About 164,000 results
Open links in new tab
  1. C# checking for binary reader end of file - Stack Overflow

    Jun 8, 2012 · 109 There is a more accurate way to check for EOF when working with binary data. It avoids all of the encoding issues that come with the PeekChar approach and does exactly …

  2. Reading a binary file with python - Stack Overflow

    Jan 3, 2012 · I find particularly difficult reading binary file with Python. Can you give me a hand? I need to read this file, which in Fortran 90 is easily read by int*4 n_particles, n_groups real*4 …

  3. How to read file binary in C#? - Stack Overflow

    Mar 11, 2010 · I want to make a method that takes any file and reads it as an array of 0s and 1s, i.e. its binary code. I want to save that binary code as a text file. Can you help me? Thanks.

  4. c# - StreamReader vs BinaryReader? - Stack Overflow

    Feb 8, 2013 · Bottom line: If the entirety of your data is a straightforward binary encoding of text data, use StreamReader. If you've fundamentally got binary data which may happen to have …

  5. How to view files in binary from bash? - Stack Overflow

    Dec 6, 2018 · I would like to view the contents of a file in the current directory, but in binary from the command line. How can I achieve this?

  6. What's a good hex editor/viewer for the Mac? - Stack Overflow

    May 6, 2009 · What's a good hex editor/viewer for the Mac? I've used xxd for viewing hexdumps, and I think it can be used in reverse to make edits. But what I really want is a real hex editor.

  7. 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.

  8. Using Stream.Read() vs BinaryReader.Read() to process binary …

    When working with binary streams (i.e. byte[] arrays), the main point of using BinaryReader or BinaryWriter seems to be simplified reading/writing of primitive data types from a stream, using …

  9. How to read a binary file in Go - Stack Overflow

    Mar 6, 2013 · Specifically for binary data, the encoding/binary package can be useful, to read a sequence of bytes into some typed structure of data. You can see an example in the Go doc …

  10. plugins - Use Notepad++ as HEX-Editor - Stack Overflow

    I'm using Notepad++, version 7.8.5 64bit on Windows 10. I'd like to use it as a Hex Editor. I open a binfile, but Notepad shows it to me as a text with strange characters. In order to visualize t...