DataInputStream.readFully doesn't provide num-of-chars on EOF

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Duplicate
    • Priority: P4
    • None
    • Affects Version/s: 1.2.0
    • Component/s: core-libs
    • sparc
    • solaris_7

      In class DataInputStream, the method ReadFully can hit eof and return without reading all the chars requested, BUT you can't find out how many chars it DID
      read.

      Perhaps we should add a

         int InputStream.readBlocking( byte[] ba, int offset, int length);


            Assignee:
            Stuart Marks
            Reporter:
            J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: