Results 1 to 6 of 6

Thread: hi

  1. #1
    sims is offline Member
    Join Date
    Jul 2008
    Posts
    9
    Rep Power
    0

    Default hi

    how to read a c structure in java
    i have a file which has a structure and file is with .dat extension.am not able to read some data which is of type unsigned char array.
    when i try reading this data,,,some square boxes are displayed.............

  2. #2
    quad64bit's Avatar
    quad64bit is offline Moderator
    Join Date
    Jul 2009
    Location
    VA
    Posts
    1,323
    Rep Power
    7

    Default

    Some of the data is probably binary data, and if you are attempting to print it as text, it will display as unprintable characters.

  3. #3
    sims is offline Member
    Join Date
    Jul 2008
    Posts
    9
    Rep Power
    0

    Default

    yea i know it,,,but my queastion is how to retieve that no printable data.............

  4. #4
    sims is offline Member
    Join Date
    Jul 2008
    Posts
    9
    Rep Power
    0

    Default

    how to retriecve that unprintable characters????

  5. #5
    dswastik is offline Senior Member
    Join Date
    Dec 2008
    Location
    Kolkata
    Posts
    283
    Rep Power
    6

    Default

    what is your code to read and print??

  6. #6
    Join Date
    Aug 2009
    Posts
    21
    Rep Power
    0

    Default

    u use the ObjectInputStream and ObjectOutputStream to manipulate data.
    :) javadeveloper

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •