How to set values in QByteArray? I want to assign 44 length to Bytearray.
I have used I want those 44 bytes to be zero. how to assign this.
How to set values in QByteArray? I want to assign 44 length to Bytearray.
I have used I want those 44 bytes to be zero. how to assign this.
After a call to resize(), newly allocated bytes have undefined values. To set all the bytes to a particular value, call QByteArray::fill()
Gokulnathvc (19th July 2011)
Thanks.. That works fine......
Bookmarks