how is readShort() different from readUnsignedShort() when both of them are meant to read data written using writeShort()?
Help me!Help you!!!
posted 14 years ago
readShort can return both the positive and negative values of short. Readunsingedshort will only return the positive values or rather the absolute values. Try writing a small program where you write some positive values and some negative values and then try to use readShort and readUnsignedShort to read the positive and negative values. See what you get. HTH [ February 12, 2002: Message edited by: Shivaji Marathe ]