4 Replies Latest reply on Aug 10, 2008 6:44 AM by 807589

    how to read netascii/octet to byte[] array


      I am in the process of making a TFTP server/client.

      There is this thing where packets are transfered, which can have data in netascii or octet. This is new to me. What is the difference?
      Are there different InputStreams to read files in netascii or octet?

      Right now I am using BuffedInputStream to read data from files. Is there a Input stream which will allow you to read as netascii, or allow you to read as octet?

      Thank you.