JDK-4077352 : java.io.DataInputStream.readUnsignedInt()
  • Type: Enhancement
  • Status: Closed
  • Resolution: Won't Fix
  • Component: core-libs
  • Sub-Component: java.io
  • Priority: P5
  • Affected Version: 1.1.3
  • OS: windows_95
  • CPU: x86
  • Submit Date: 1997-09-08
  • Updated Date: 1997-11-03
  • Resolved Date: 1997-11-03
Description

Name: rlT66838			Date: 09/08/97


It would be nice to have
DataInputStream.readUnsignedInt()
instead of having to do
long l = dis.readInt() & 0xffffffffL;


======================================================================

Comments
WORK AROUND Name: rlT66838 Date: 09/08/97 long l = dis.readInt() & 0xffffffffL; or long readUnsignedInt(DataInputStream dis) { return dis.readInt() & 0xffffffffL; } ======================================================================
2004-06-11

EVALUATION This functionality can be so easily provided by the user that it's not worth an API change. -- mr@eng 11/3/1997
1997-11-03