Search:

Type: Posts; User: Norm

Search: Search took 0.10 seconds.

  1. Replies
    4
    Views
    2,876

    Re: Creating a binary dump of a file

    You might not want to use a Reader. Readers are for character input. You want byte input.
    The FileInputStream would read bytes. From the API doc:
  2. Replies
    4
    Views
    2,876

    Re: Creating a binary dump of a file

    You can read any file as bytes into a byte array. No need to convert it. It IS binary.
    The Integer.toHexString() could be used to convert the bytes to a String hex representation. The problem with...
Results 1 to 2 of 2