Posted: Mon Oct 27, 2003 9:50 pm Post subject: limitation on readUTF
Newbie
Joined: 27 Oct 2003 Posts: 1
hi,
I have few doubts reagrding readUTF and readString methods.
when should we use readString and readUTF method
what is the maximum limit of readUTF method supports
You should use the readUTF method when you know that the message data is in UTF format i.e. with CCSID 1208, otherwise, if the message is a text message you can use the readString method. There is no limitation on the length of the message for both the methods except that the readString will read the number of characters specified in the parameter while readUTF will read the whole message.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum