4 Replies Latest reply: Aug 10, 2008 1:44 AM by 807589 RSS

    how to read netascii/octet to byte[] array

    807589
      Hi,

      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.